This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] fix break-always test
- From: Michael Snyder <msnyder at vmware dot com>
- To: vladimir at codesourcery dot com, gdb-patches at sourceware dot org
- Date: Fri, 29 May 2009 16:41:53 -0700
- Subject: [PATCH] fix break-always test
"set breakpoint always" does not accept "1", it wants "on".
2009-05-29 Michael Snyder <msnyder@vmware.com>
* gdb.base/break-always.exp: Change "1" to "on".
Index: gdb.base/break-always.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/break-always.exp,v
retrieving revision 1.2
diff -u -p -r1.2 break-always.exp
--- gdb.base/break-always.exp 3 Jan 2009 05:58:03 -0000 1.2
+++ gdb.base/break-always.exp 29 May 2009 23:41:24 -0000
@@ -21,7 +21,7 @@ if { [prepare_for_testing break-always.e
set bar_location [gdb_get_line_number "break in bar" break-always.c]
-gdb_test "set breakpoint always-inserted 1" ""
+gdb_test "set breakpoint always-inserted on" ""
runto foo