From: Doug Evans Date: Fri, 19 Mar 2010 17:57:17 +0000 (+0000) Subject: * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d7d158ed1d3cb9aea0767660bdea503744e4c16b;p=binutils-gdb.git * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries named /usr/sbin/prelink. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 6dd14d51f0e..6c1bbd78e5d 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-03-19 Doug Evans + + * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries + named /usr/sbin/prelink. + 2010-03-18 Stan Shebs * 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 413af768bd9..c6cee04fb3b 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 {