aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2001-05-24 01:14:15 +0000
committerKevin Buettner <kevinb@redhat.com>2001-05-24 01:14:15 +0000
commitf6dc23a9315643df7775395ab7518490e5da6a1c (patch)
tree44991bd1f17d4d5a01dd0281c21808ef4e8d76d6
parente90fdc1abd8cbaa9aa2117d8671c1ee9f5436b56 (diff)
downloadgdb-f6dc23a9315643df7775395ab7518490e5da6a1c.zip
gdb-f6dc23a9315643df7775395ab7518490e5da6a1c.tar.gz
gdb-f6dc23a9315643df7775395ab7518490e5da6a1c.tar.bz2
* 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.
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/gdb.base/finish.exp2
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index bad750b..9e634bd 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
diff --git a/gdb/testsuite/gdb.base/finish.exp b/gdb/testsuite/gdb.base/finish.exp
index 3e2c69f..064f26e 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 $" {