summaryrefslogtreecommitdiffstats
path: root/tags/d/debug-symbols-not-detached.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/d/debug-symbols-not-detached.tag')
-rw-r--r--tags/d/debug-symbols-not-detached.tag21
1 files changed, 21 insertions, 0 deletions
diff --git a/tags/d/debug-symbols-not-detached.tag b/tags/d/debug-symbols-not-detached.tag
new file mode 100644
index 0000000..64b2238
--- /dev/null
+++ b/tags/d/debug-symbols-not-detached.tag
@@ -0,0 +1,21 @@
+Tag: debug-symbols-not-detached
+Severity: warning
+Check: binaries/debug-symbols/detached
+Renamed-From:
+ debug-file-should-use-detached-symbols
+Explanation: This file is in a location generally used for detached debugging
+ symbols, but it appears to contain a complete copy of the executable or
+ library instead of only the debugging symbols.
+ .
+ Files in subdirectories of <code>/usr/lib/debug</code> mirroring the main file
+ system should contain only debugging information generated by <code>objcopy
+ --only-keep-debug</code>. Binaries or shared objects built with extra
+ debugging should be installed directly in <code>/usr/lib/debug</code> or in
+ subdirectories corresponding to the package, not in the directories that
+ mirror the main file system.
+ .
+ If you are using dh&lowbar;strip with the --dbg-package flag, don't also install
+ the library in <code>/usr/lib/debug</code>. dh&lowbar;strip does all the work for
+ you.
+See-Also:
+ developer-reference 6.8.9