summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/break-always.exp
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2009-06-01 19:31:52 +0000
committerMichael Snyder <msnyder@vmware.com>2009-06-01 19:31:52 +0000
commitc141c6961a837a93efb15536de339f466ff2f3b5 (patch)
tree2f59838690c53603b4a5e66ddf224071b0db6ca1 /gdb/testsuite/gdb.base/break-always.exp
parentd160e0350800d373c906f5fecd0bf0f61c61519c (diff)
downloadbinutils-gdb-c141c6961a837a93efb15536de339f466ff2f3b5.tar.gz
2009-05-29 Michael Snyder <msnyder@vmware.com>
* gdb.base/break-always.exp: Change "1" to "on". Add confirmation check.
Diffstat (limited to 'gdb/testsuite/gdb.base/break-always.exp')
-rw-r--r--gdb/testsuite/gdb.base/break-always.exp5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/break-always.exp b/gdb/testsuite/gdb.base/break-always.exp
index a0e71a3b3f3..b87758d1785 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