diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-07-27 17:38:40 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-07-27 17:38:40 +0000 |
commit | 856d715d5b8db51aeae349c8e5bde2cfbd55bdf7 (patch) | |
tree | 0a7087831c9c74f2839aaecca1cea793dfd2a91b /find-debuginfo.sh | |
parent | e260951dcea87ee455b050362f685934ee73eee1 (diff) | |
download | rpm-setup-856d715d5b8db51aeae349c8e5bde2cfbd55bdf7.tar rpm-setup-856d715d5b8db51aeae349c8e5bde2cfbd55bdf7.tar.gz rpm-setup-856d715d5b8db51aeae349c8e5bde2cfbd55bdf7.tar.bz2 rpm-setup-856d715d5b8db51aeae349c8e5bde2cfbd55bdf7.tar.xz rpm-setup-856d715d5b8db51aeae349c8e5bde2cfbd55bdf7.zip |
Create GDB index from find-debuginfo if possible (RhBug:617166)
- Details in https://fedoraproject.org/wiki/Features/GdbIndex
(rpm.org, Tom Tromey <tromey@redhat.com> 2010-08-09)
Diffstat (limited to 'find-debuginfo.sh')
-rwxr-xr-x | find-debuginfo.sh | 2 |
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 |