From: Kevin Buettner Date: Thu, 24 May 2001 01:14:15 +0000 (+0000) Subject: * gdb.base/finish.exp (finish_void): Revise pattern for X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=f6dc23a9315643df7775395ab7518490e5da6a1c;p=deliverable%2Fbinutils-gdb.git * gdb.base/finish.exp (finish_void): Revise pattern for stopping on the call statement to not permit stopping at the start of the instructions comprising the call sequence. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index bad750b0a0..9e634bd3e7 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2001-05-23 Kevin Buettner + + * gdb.base/finish.exp (finish_void): Revise pattern for + stopping on the call statement to not permit stopping at + the start of the instructions comprising the call sequence. + 2001-05-19 Michael Chastain * gdb.base/callfuncs.exp: Make all test names unique. diff --git a/gdb/testsuite/gdb.base/finish.exp b/gdb/testsuite/gdb.base/finish.exp index 3e2c69f1f0..064f26e39d 100644 --- a/gdb/testsuite/gdb.base/finish.exp +++ b/gdb/testsuite/gdb.base/finish.exp @@ -85,7 +85,7 @@ proc finish_void { } { -re ".*void_checkpoint.*$gdb_prompt $" { pass "finish from void_func" } - -re ".*call to void_func.*$gdb_prompt $" { + -re "0x\[0-9a-fA-F\]+ in main.*call to void_func.*$gdb_prompt $" { pass "finish from void_func" } -re ".*$gdb_prompt $" {