From d7d158ed1d3cb9aea0767660bdea503744e4c16b Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Fri, 19 Mar 2010 17:57:17 +0000 Subject: [PATCH] * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries named /usr/sbin/prelink. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/break-interp.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 { -- 2.30.2