From 9570a7f6af152e2f1e63181ad8a20d12a10e3c5b Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 9 Aug 2010 15:22:51 +0300 Subject: Create GDB index from find-debuginfo if possible (RhBug:617166) - Details in https://fedoraproject.org/wiki/Features/GdbIndex --- scripts/find-debuginfo.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts') diff --git a/scripts/find-debuginfo.sh b/scripts/find-debuginfo.sh index 01456dabc..3ada962db 100644 --- a/scripts/find-debuginfo.sh +++ b/scripts/find-debuginfo.sh @@ -207,6 +207,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 -- cgit v1.2.3