aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2007-01-29 19:09:47 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2007-01-29 19:09:47 +0000
commitcc8e9b1294eb3bfd51ce6186a18495935a8af577 (patch)
tree457ea277c01bdc595483008cab4f7c605322b5d5 /gdb
parent78ff580ec9a003bac7f4323a3dffb060090a159f (diff)
downloadgdb-cc8e9b1294eb3bfd51ce6186a18495935a8af577.zip
gdb-cc8e9b1294eb3bfd51ce6186a18495935a8af577.tar.gz
gdb-cc8e9b1294eb3bfd51ce6186a18495935a8af577.tar.bz2
* gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
"frame-begin" annotation.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog3
-rw-r--r--gdb/testsuite/gdb.cp/annota3.exp2
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index df3c755..4ce2c6c 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,8 @@
2007-01-29 Andreas Schwab <schwab@suse.de>
+ * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
+ "frame-begin" annotation.
+
* gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
number of "frames-invalid" annotations.
diff --git a/gdb/testsuite/gdb.cp/annota3.exp b/gdb/testsuite/gdb.cp/annota3.exp
index 1cd99c5..31c7195 100644
--- a/gdb/testsuite/gdb.cp/annota3.exp
+++ b/gdb/testsuite/gdb.cp/annota3.exp
@@ -189,7 +189,7 @@ gdb_expect_list "set watch on a.x" "$gdb_prompt$" {
#
send_gdb "next\n"
gdb_expect {
- -re "\r\n\032\032post-prompt\r\n\r\n\032\032starting\r\n\r\n\032\032watchpoint 3\r\n.*atchpoint 3: a.x\r\n\r\nOld value = 0\r\nNew value = 1\r\nmain \\(\\) at .*$srcfile:$decimal\r\n\r\n\032\032source .*$srcfile.*beg:$hex\r\n\r\n\032\032stopped\r\n.*$gdb_prompt$" {
+ -re "\r\n\032\032post-prompt\r\n\r\n\032\032starting\r\n\r\n\032\032watchpoint 3\r\n.*atchpoint 3: a.x\r\n\r\nOld value = 0\r\nNew value = 1\r\n\r\n(\032\032frame-begin 0 0x\[0-9a-z\]+\r\n|)main \\(\\) at .*$srcfile:$decimal\r\n\r\n\032\032source .*$srcfile.*beg:$hex\r\n\r\n\032\032stopped\r\n.*$gdb_prompt$" {
pass "watch triggered on a.x"
}
-re "\r\n\032\032post-prompt\r\n\r\n\032\032starting\r\n\r\n\032\032source .*$srcfile.*beg:$hex\r\n\r\n\032\032stopped\r\n$gdb_prompt$" {