2007-04-24 15:57:25 +00:00
|
|
|
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=225783
|
|
|
|
|
2007-11-01 20:24:20 +00:00
|
|
|
2007-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
|
2007-04-24 15:57:25 +00:00
|
|
|
|
2007-11-01 20:24:20 +00:00
|
|
|
Port to GDB-6.7.
|
|
|
|
|
|
|
|
Index: gdb-6.7/gdb/testsuite/gdb.base/prelink.exp
|
|
|
|
===================================================================
|
|
|
|
--- gdb-6.7.orig/gdb/testsuite/gdb.base/prelink.exp 2007-08-23 20:14:17.000000000 +0200
|
|
|
|
+++ gdb-6.7/gdb/testsuite/gdb.base/prelink.exp 2007-10-16 16:16:51.000000000 +0200
|
|
|
|
@@ -47,7 +47,7 @@ if { [gdb_compile "${srcdir}/${subdir}/$
|
2007-04-24 15:57:25 +00:00
|
|
|
return -1
|
|
|
|
}
|
|
|
|
|
|
|
|
-if {[catch "system \"prelink -qNR ${libfile}\""] != 0} {
|
|
|
|
+if {[catch "system \"/usr/sbin/prelink -qNR ${libfile}\""] != 0} {
|
|
|
|
# Maybe we don't have prelink.
|
|
|
|
return -1
|
|
|
|
}
|
2007-11-01 20:24:20 +00:00
|
|
|
@@ -88,11 +88,11 @@ if { $found == 0 } {
|
2007-04-24 15:57:25 +00:00
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
-if {[catch "system \"prelink -uN ${libfile}\""] != 0} {
|
|
|
|
+if {[catch "system \"/usr/sbin/prelink -uN ${libfile}\""] != 0} {
|
2007-11-01 20:24:20 +00:00
|
|
|
untested "${testfile}.so was not prelinked, maybe system libraries are not prelinked?"
|
2007-04-24 15:57:25 +00:00
|
|
|
return 0
|
|
|
|
}
|
|
|
|
-catch "system \"prelink -qNR ${libfile}\""
|
|
|
|
+catch "system \"/usr/sbin/prelink -qNR ${libfile}\""
|
|
|
|
|
|
|
|
# Start with a fresh gdb
|
|
|
|
|