* gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
authorAndreas Schwab <schwab@linux-m68k.org>
Mon, 29 Jan 2007 19:09:47 +0000 (19:09 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Mon, 29 Jan 2007 19:09:47 +0000 (19:09 +0000)
"frame-begin" annotation.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/annota3.exp

index df3c755ab810dfca3e080a780a94ba56ac188ad8..4ce2c6c558188d942df487674970a6bdb991ae40 100644 (file)
@@ -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.
 
index 1cd99c58b37b7904bc7496e73e710e07c64d8704..31c71959f0638f282dd2fe70c8000c27fae0272e 100644 (file)
@@ -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$" {