keiths / rpms / gdb

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