diff options
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/break-interp.exp | 2 |
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 { |