]> git.pld-linux.org Git - packages/gdb.git/blame - gdb-6.6-bz225783-prelink-path.patch
- update to gdb-7.0-7.fc12.src.rpm; but leave cactus patches as these seem newer
[packages/gdb.git] / gdb-6.6-bz225783-prelink-path.patch
CommitLineData
3a58abaf
AM
1https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=225783
2
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.
12 return -1
13 }
14@@ -96,11 +96,11 @@ if { $found == 0 } {
15 return 0
16 }
17
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?"
21 return 0
22 }
23-catch "system \"prelink -qNR --no-exec-shield ${libfile}\""
24+catch "system \"/usr/sbin/prelink -qNR --no-exec-shield ${libfile}\""
25
26 # Start with a fresh gdb
27
This page took 0.100542 seconds and 4 git commands to generate.