1 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=225783
3 --- gdb-6.8/gdb/testsuite/gdb.base/prelink.exp.orig 2008-07-12 08:56:43.000000000 +0200
4 +++ gdb-6.8/gdb/testsuite/gdb.base/prelink.exp 2008-07-12 08:59:59.000000000 +0200
5 @@ -55,7 +55,7 @@ if { [gdb_compile "${srcdir}/${subdir}/$
6 # single new unprelinked library address without wasting the first one/two
7 # memory areas. We do not care of the efficiency of loading such resulting
8 # exec-shield unfriendly prelinked library.
9 -if {[catch "system \"prelink -qNR --no-exec-shield ${libfile}\""] != 0} {
10 +if {[catch "system \"/usr/sbin/prelink -qNR --no-exec-shield ${libfile}\""] != 0} {
11 # Maybe we don't have prelink.
14 @@ -96,11 +96,11 @@ if { $found == 0 } {
18 -if {[catch "system \"prelink -uN ${libfile}\""] != 0} {
19 +if {[catch "system \"/usr/sbin/prelink -uN ${libfile}\""] != 0} {
20 untested "${testfile}.so was not prelinked, maybe system libraries are not prelinked?"
23 -catch "system \"prelink -qNR --no-exec-shield ${libfile}\""
24 +catch "system \"/usr/sbin/prelink -qNR --no-exec-shield ${libfile}\""
26 # Start with a fresh gdb