aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2010-03-19 17:57:17 +0000
committerDoug Evans <dje@google.com>2010-03-19 17:57:17 +0000
commitd7d158ed1d3cb9aea0767660bdea503744e4c16b (patch)
tree6391376006efe632597baca42d5a1793110ea522 /gdb
parent47b2e99cefb0abf772970b72a88f9266c4c7cbe5 (diff)
downloadgdb-d7d158ed1d3cb9aea0767660bdea503744e4c16b.zip
gdb-d7d158ed1d3cb9aea0767660bdea503744e4c16b.tar.gz
gdb-d7d158ed1d3cb9aea0767660bdea503744e4c16b.tar.bz2
* gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
named /usr/sbin/prelink<foo>.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/break-interp.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 6dd14d5..6c1bbd7 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2010-03-19 Doug Evans <dje@google.com>
+
+ * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
+ named /usr/sbin/prelink<foo>.
+
2010-03-18 Stan Shebs <stan@codesourcery.com>
* gdb.trace/circ.exp: Test circular-trace-buffer.
diff --git a/gdb/testsuite/gdb.base/break-interp.exp b/gdb/testsuite/gdb.base/break-interp.exp
index 413af76..c6cee04 100644
--- a/gdb/testsuite/gdb.base/break-interp.exp
+++ b/gdb/testsuite/gdb.base/break-interp.exp
@@ -141,7 +141,7 @@ proc prelinkNO {arg {name {}}} {
set output [lindex $run 1]
}
# Last line does miss the trailing \n.
- if {$result == 1 && [regexp {^(/usr/sbin/prelink: [^ ]* does not have .gnu.prelink_undo section\n?)*$} $output]} {
+ if {$result == 1 && [regexp {^(/usr/sbin/prelink[^\r\n]*: [^ ]* does not have .gnu.prelink_undo section\n?)*$} $output]} {
pass $test
return 1
} else {