aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/watchpoints.exp
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-06-03 23:54:18 +0000
committerMichael Snyder <msnyder@vmware.com>2010-06-03 23:54:18 +0000
commit35ec993ff8a5cddce8476d353b35fe18b605e99d (patch)
tree61e282c87b3784b33449725c546edaa6c099f06f /gdb/testsuite/gdb.base/watchpoints.exp
parentc22decce5cbe3ae86bb70e2cc55f792f7bd7cd2b (diff)
downloadgdb-35ec993ff8a5cddce8476d353b35fe18b605e99d.zip
gdb-35ec993ff8a5cddce8476d353b35fe18b605e99d.tar.gz
gdb-35ec993ff8a5cddce8476d353b35fe18b605e99d.tar.bz2
2010-06-03 Michael Snyder <msnyder@vmware.com>
* gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output. * gdb.base/display.exp: Ditto. * gdb.base/find.exp: Ditto. * gdb.base/ifelse.exp: Ditto. * gdb.base/multi-forks.exp: Ditto. * gdb.base/recurse.exp: Ditto. * gdb.base/setshow.exp: Ditto. * gdb.base/value-double-free.exp: Ditto. * gdb.base/watch-vfork.exp: Ditto. * gdb.base/watch_thread_num.exp: Ditto. * gdb.base/watchpoint-solib.exp: Ditto. * gdb.base/watchpoint.exp: Ditto. * gdb.base/watchpoints.exp: Ditto. * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output. * gdb.cp/overload.exp: Ditto. * gdb.cp/virtfunc.exp: Ditto. * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output. * gdb.reverse/watch-precsave.exp: Replace gdb_test with gdb_test_no_output. * gdb.threads/attach-into-signal.exp: Replace gdb_test with gdb_test_no_output. * gdb.threads/local-watch-wrong-thread.exp: Ditto. * gdb.threads/watchthreads.exp: Ditto. * gdb.threads/watchthreads2.exp: Ditto. * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output. * gdb.trace/tfind.exp: Ditto.
Diffstat (limited to 'gdb/testsuite/gdb.base/watchpoints.exp')
-rw-r--r--gdb/testsuite/gdb.base/watchpoints.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/watchpoints.exp b/gdb/testsuite/gdb.base/watchpoints.exp
index 1505be5..a8ff3ed 100644
--- a/gdb/testsuite/gdb.base/watchpoints.exp
+++ b/gdb/testsuite/gdb.base/watchpoints.exp
@@ -44,7 +44,7 @@ gdb_load $binfile
# Disable hardware watchpoints if necessary.
if [target_info exists gdb,no_hardware_watchpoints] {
- gdb_test "set can-use-hw-watchpoints 0" "" ""
+ gdb_test_no_output "set can-use-hw-watchpoints 0" ""
}
runto_main
@@ -79,7 +79,7 @@ gdb_load $binfile
# Check that the hit count is reported correctly
gdb_test "info break" ".*watchpoint\[ \t\]+keep\[ \t\]+y\[ \t\]+ival1\r\n\[ \t]+breakpoint already hit 3 times.*" "Watchpoint ival1 hit count is 3"
# Disable ival1 watchpoint
- gdb_test "disable 2" "" ""
+ gdb_test_no_output "disable 2" ""
# Continue until the next change, from 1 to 2.
gdb_test "cont" "Continuing.*\[Ww\]atchpoint.*ival3.*Old value = 1.*New value = 2.*ival3 = count; ival4 = count;.*" "watchpoint hit, third time"