aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/break-always.exp5
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index cedabf1..5e10375 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -10,6 +10,11 @@
* gdb.threads/hand-call-in-threads.exp: New.
* gdb.threads/hand-call-in-threads.c: New.
+2009-05-29 Michael Snyder <msnyder@vmware.com>
+
+ * gdb.base/break-always.exp: Change "1" to "on".
+ Add confirmation check.
+
2009-05-28 Pedro Alves <pedro@codesourcery.com>
* gdb.threads/threxit-hop-specific.c: New.
diff --git a/gdb/testsuite/gdb.base/break-always.exp b/gdb/testsuite/gdb.base/break-always.exp
index a0e71a3..b87758d 100644
--- a/gdb/testsuite/gdb.base/break-always.exp
+++ b/gdb/testsuite/gdb.base/break-always.exp
@@ -21,7 +21,10 @@ if { [prepare_for_testing break-always.exp break-always break-always.c] } {
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" ""
+
+gdb_test "show breakpoint always-inserted" "mode is on\." \
+ "confirm breakpoint always-inserted"
runto foo