From f6dc23a9315643df7775395ab7518490e5da6a1c Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Thu, 24 May 2001 01:14:15 +0000 Subject: [PATCH] * 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. --- gdb/testsuite/ChangeLog | 6 ++++++ gdb/testsuite/gdb.base/finish.exp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index bad750b0a06..9e634bd3e7a 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 3e2c69f1f08..064f26e39dc 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 $" { -- 2.30.2