8336d588bf
- Fix prelink(8) testcase for non-root $PATH missing `/usr/sbin' (BZ 225783). - Fix debugging GDB itself - the compiled in source files paths (BZ 225783). - Fix harmless GCORE stack buffer overflow, by _FORTIFY_SOURCE=2 (BZ 235753). - Fix XML support - the build was missing `expat-devel'. - Updated the `info' files handling by the spec file. - Building now with the standard Fedora code protections - _FORTIFY_SOURCE=2. - Use multiple CPUs for the build (%{?_smp_mflags}). - Separate testsuite run to its %check section. - Fix (remove) non-ASCII spec file characters. - Remove system tools versions dumping - already present in mock build logs. - Reverts: rhbz#235197 - Related: rhbz#235197 rhbz#225783 - Resolves: rhbz#235753
29 lines
847 B
Diff
29 lines
847 B
Diff
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=225783
|
|
|
|
|
|
--- gdb-6.6/gdb/testsuite/gdb.base/prelink.exp.orig 2006-03-08 19:22:09.000000000 -0500
|
|
+++ gdb-6.6/gdb/testsuite/gdb.base/prelink.exp 2007-04-08 13:22:45.000000000 -0400
|
|
@@ -48,7 +48,7 @@
|
|
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
|
|
}
|
|
@@ -89,11 +89,11 @@
|
|
return 0
|
|
}
|
|
|
|
-if {[catch "system \"prelink -uN ${libfile}\""] != 0} {
|
|
+if {[catch "system \"/usr/sbin/prelink -uN ${libfile}\""] != 0} {
|
|
untested "${libfile} 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
|
|
|