This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] Fix annota1.exp failures
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sourceware dot org
- Date: Tue, 9 Jan 2007 22:23:02 -0500
- Subject: [commit] Fix annota1.exp failures
This patch fixes the intermittent failures that Nick noticed.
I botched switching to gdb_test_multiple.
--
Daniel Jacobowitz
CodeSourcery
2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/annota1.exp: Remove extra send_gdb.
Index: testsuite/gdb.base/annota1.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/annota1.exp,v
retrieving revision 1.21
diff -u -p -r1.21 annota1.exp
--- testsuite/gdb.base/annota1.exp 31 Dec 2006 20:01:25 -0000 1.21
+++ testsuite/gdb.base/annota1.exp 9 Jan 2007 14:24:11 -0000
@@ -244,7 +244,6 @@ set pat_begin "\r\n\032\032post-prompt\r
set pat_adjust "warning: Breakpoint 3 address previously adjusted from $hex to $hex.\r\n"
set pat_end "\r\n\032\032breakpoint 3\r\n\r\nBreakpoint 3, \r\n\032\032frame-begin 0 $hex\r\n\r\n(\032\032frame-address\r\n$hex\r\n\032\032frame-address-end\r\n in \r\n)*.*\032\032frame-function-name\r\n.*printf\r\n\032\032frame-args\r\n.*\032\032frame-end\r\n\r\n\032\032stopped\r\n$gdb_prompt$"
-send_gdb "continue\n"
gdb_test_multiple "continue" "continue to printf" {
-re "${pat_begin}($pat_adjust)?$pat_end" {
pass "continue to printf"