This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Testsuite failure in gdb.cp/annota3.exp
- From: Andreas Schwab <schwab at suse dot de>
- To: gdb-patches at sourceware dot org
- Date: Fri, 26 Jan 2007 16:38:43 +0100
- Subject: Testsuite failure in gdb.cp/annota3.exp
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 <schwab@suse.de>
* 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, schwab@suse.de
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."