2003-11-07 Elena Zannoni <ezannoni@redhat.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Fri, 7 Nov 2003 15:46:33 +0000 (15:46 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Fri, 7 Nov 2003 15:46:33 +0000 (15:46 +0000)
* gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
        as well as 'Watchpoint'.

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

index 62a0200f6856b6eca681c0cf0d3f7395ce333b85..137deabb13e1e32d22e608c1041ae3f7606b1fb3 100644 (file)
@@ -1,3 +1,8 @@
+2003-11-07  Elena Zannoni  <ezannoni@redhat.com>
+
+       * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
+        as well as 'Watchpoint'.
+
 2003-11-06  Elena Zannoni  <ezannoni@redhat.com>
 
        Reported by Jim Ingham <jingham@apple.com>:
index 431ed4f07bc30de911afa9e7c74f08221104f972..c75a28920375dfe89ea9a11eb59011c2946b7d21 100644 (file)
@@ -196,7 +196,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\032frames-invalid\r\n\)+\r\n\032\032watchpoint 3\r\nWatchpoint 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\032frames-invalid\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$" { 
        pass "watch triggered on a.x"
     }
     -re "\r\n\032\032post-prompt\r\n\r\n\032\032starting\r\n\r\n\032\032frames-invalid\r\n\r\n\032\032source .*$srcfile.*beg:$hex\r\n\r\n\032\032stopped\r\n$gdb_prompt$" {
This page took 0.046395 seconds and 4 git commands to generate.