eb9d945afa
- Fix rereading of the main executable on its change.
34 lines
1.1 KiB
Diff
34 lines
1.1 KiB
Diff
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=225783
|
|
|
|
2007-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
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}/$
|
|
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
|
|
}
|
|
@@ -88,11 +88,11 @@ if { $found == 0 } {
|
|
return 0
|
|
}
|
|
|
|
-if {[catch "system \"prelink -uN ${libfile}\""] != 0} {
|
|
+if {[catch "system \"/usr/sbin/prelink -uN ${libfile}\""] != 0} {
|
|
untested "${testfile}.so was not prelinked, maybe system libraries are not prelinked?"
|
|
return 0
|
|
}
|
|
-catch "system \"prelink -qNR ${libfile}\""
|
|
+catch "system \"/usr/sbin/prelink -qNR ${libfile}\""
|
|
|
|
# Start with a fresh gdb
|
|
|