aboutsummaryrefslogtreecommitdiffstats
path: root/find-debuginfo.sh
diff options
context:
space:
mode:
Diffstat (limited to 'find-debuginfo.sh')
-rwxr-xr-xfind-debuginfo.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/find-debuginfo.sh b/find-debuginfo.sh
index 98cc45b..fe6a4da 100755
--- a/find-debuginfo.sh
+++ b/find-debuginfo.sh
@@ -228,6 +228,8 @@ while read nlinks inum f; do
$strict && exit 2
fi
+ [ -x /usr/bin/gdb-add-index ] && /usr/bin/gdb-add-index "$f" > /dev/null 2>&1
+
# A binary already copied into /usr/lib/debug doesn't get stripped,
# just has its file names collected and adjusted.
case "$dn" in