summaryrefslogtreecommitdiffstats
path: root/tags/d/debug-symbols-directly-in-usr-lib-debug.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/d/debug-symbols-directly-in-usr-lib-debug.tag')
-rw-r--r--tags/d/debug-symbols-directly-in-usr-lib-debug.tag11
1 files changed, 11 insertions, 0 deletions
diff --git a/tags/d/debug-symbols-directly-in-usr-lib-debug.tag b/tags/d/debug-symbols-directly-in-usr-lib-debug.tag
new file mode 100644
index 0000000..4d57931
--- /dev/null
+++ b/tags/d/debug-symbols-directly-in-usr-lib-debug.tag
@@ -0,0 +1,11 @@
+Tag: debug-symbols-directly-in-usr-lib-debug
+Severity: error
+Check: binaries/debug-symbols/detached
+Explanation: The given debugging symbols-only object is installed directly in
+ <code>/usr/lib/debug</code>, although it should be installed in a
+ subdirectory. For example, debug symbols of a binary in
+ <code>/usr/bin</code> should be placed in <code>/usr/lib/debug/usr/bin</code>.
+ gdb, when looking for debugging symbols, prepends <code>/usr/lib/debug</code>
+ to whatever path it finds in the .gnu&lowbar;debuglink section, which when using
+ dh&lowbar;strip(1) is either the path to your binary/library or a build-id based
+ path.