Skip to content

Commit

Permalink
Create GDB index from find-debuginfo if possible (RhBug:617166)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Tromey authored and pmatilai committed Aug 9, 2010
1 parent 7f22020 commit 9570a7f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/find-debuginfo.sh
Expand Up @@ -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
Expand Down

0 comments on commit 9570a7f

Please sign in to comment.