]> git.pld-linux.org Git - packages/gdb.git/blob - gdb-6.6-bz225783-prelink-path.patch
- NOTE: does not build with -j2
[packages/gdb.git] / gdb-6.6-bz225783-prelink-path.patch
1 https://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.027994 seconds and 3 git commands to generate.