This is the mail archive of the
mailing list for the Archer project.
Re: find-debuginfo.sh change for gdb index
>>>>> "Panu" == Panu Matilainen <email@example.com> writes:
>> gdb-add-index "$f" > /dev/null 2>&1
Panu> Sounds good to me. Also if it were an external script that might not
Panu> be there (depending on gdb-version), find-debuginfo.sh can do
Indeed, the latest patch is just the line you wrote.
I sent the gdb-add-index patch to gdb-patches. I don't know whether it
will go in (I think historically gdb has avoided installing scripts),
but in any case Jan is going to put it into the gdb RPM.
--- find-debuginfo.sh.orig 2010-06-29 16:19:42.000000000 -0600
+++ find-debuginfo.sh 2010-07-09 11:35:39.000000000 -0600
@@ -207,6 +207,8 @@
$strict && exit 2
+ [ -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