Testsuite failure in gdb.cp/annota3.exp

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Testsuite failure in gdb.cp/annota3.exp

Andreas Schwab
The test "watch triggered on a.x" fails on various targets because it does
not match the "frame-begin" annotation.

Andreas.

2007-01-26  Andreas Schwab  <[hidden email]>

        * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
        "frame-begin" annotation.

--- gdb/testsuite/gdb.cp/annota3.exp.~1.8.~ 2007-01-10 11:18:59.000000000 +0100
+++ gdb/testsuite/gdb.cp/annota3.exp 2007-01-26 16:35:19.000000000 +0100
@@ -189,7 +189,7 @@ gdb_expect_list "set watch on a.x" "$gdb
 #
 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$" {

--
Andreas Schwab, SuSE Labs, [hidden email]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Reply | Threaded
Open this post in threaded view
|

Re: Testsuite failure in gdb.cp/annota3.exp

Daniel Jacobowitz-2
On Fri, Jan 26, 2007 at 04:38:43PM +0100, Andreas Schwab wrote:
> 2007-01-26  Andreas Schwab  <[hidden email]>
>
> * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
> "frame-begin" annotation.

OK.

--
Daniel Jacobowitz
CodeSourcery