gdb/testsuite/gdb.cp/annota2.exp: Add missing empty line
authorWill Newton <willnewton@sourceware.org>
Fri, 7 Jun 2013 08:51:42 +0000 (08:51 +0000)
committerWill Newton <willnewton@sourceware.org>
Fri, 7 Jun 2013 08:51:42 +0000 (08:51 +0000)
 in output.

There should be an empty line between "post-prompt" and "starting".
This fixes a testsuite failure on ARM.

gdb/testsuite/ChangeLog:

2013-06-07  Will Newton  <will.newton@linaro.org>

* gdb.cp/annota2.exp: Add empty line between "post-prompt"
and "starting".

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/annota2.exp

index 67e9bf3..24dd725 100644 (file)
@@ -1,5 +1,10 @@
 2013-06-07  Will Newton  <will.newton@linaro.org>
 
+       * gdb.cp/annota2.exp: Add empty line between "post-prompt"
+       and "starting".
+
+2013-06-07  Will Newton  <will.newton@linaro.org>
+
        * gdb.cp/anon-struct.exp: Conditionalize constructor and
        destructor prototypes for ARM ABI.
        * gdb.cp/m-static.exp: Likewise.
index d0a457a..0c17947 100644 (file)
@@ -162,7 +162,7 @@ gdb_test_multiple "watch a.x" "set watch on a.x" {
 # annotate-watchpoint
 #
 gdb_test_multiple "next" "watch triggered on a.x" {
-    -re "\r\n\032\032post-prompt\r\n\032\032starting\r\n${frames_invalid}${breakpoints_invalid}\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 $hex\r\n\r\n\032\032frame-function-name\r\nmain\r\n\032\032frame-args\r\n \\(\\)\r\n\032\032frame-source-begin\r\n at \r\n\032\032frame-source-file\r\n.*$srcfile\r\n\032\032frame-source-file-end\r\n:\r\n\032\032frame-source-line\r\n$decimal\r\n\032\032frame-source-end\r\n\r\n\r\n\032\032source .*$srcfile.*beg:$hex\r\n\r\n\032\032frame-end\r\n\r\n\032\032stopped\r\n.*$gdb_prompt$" {
+    -re "\r\n\032\032post-prompt\r\n\r\n\032\032starting\r\n${frames_invalid}${breakpoints_invalid}\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 $hex\r\n\r\n\032\032frame-function-name\r\nmain\r\n\032\032frame-args\r\n \\(\\)\r\n\032\032frame-source-begin\r\n at \r\n\032\032frame-source-file\r\n.*$srcfile\r\n\032\032frame-source-file-end\r\n:\r\n\032\032frame-source-line\r\n$decimal\r\n\032\032frame-source-end\r\n\r\n\r\n\032\032source .*$srcfile.*beg:$hex\r\n\r\n\032\032frame-end\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${frames_invalid}\r\n\032\032source .*$srcfile.*beg:$hex\r\n\r\n\032\032frame-end\r\n\r\n\032\032stopped\r\n$gdb_prompt$" {