OSDN Git Service

* gdb.base/finish.exp (finish_void): Revise pattern for
authorkevinb <kevinb>
Thu, 24 May 2001 01:14:14 +0000 (01:14 +0000)
committerkevinb <kevinb>
Thu, 24 May 2001 01:14:14 +0000 (01:14 +0000)
stopping on the call statement to not permit stopping at
the start of the instructions comprising the call sequence.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/finish.exp

index bad750b..9e634bd 100644 (file)
@@ -1,3 +1,9 @@
+2001-05-23  Kevin Buettner  <kevinb@redhat.com>
+
+       * 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  <chastain@redhat.com>
 
        * gdb.base/callfuncs.exp: Make all test names unique.
index 3e2c69f..064f26e 100644 (file)
@@ -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 $" {