aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/recurse.exp
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2000-11-14 22:12:26 +0000
committerMichael Snyder <msnyder@vmware.com>2000-11-14 22:12:26 +0000
commit958a4e4cdee7ecff2b81785b50c5b282b7014ac2 (patch)
treed26c3d1df05a7f1e490279295dc54040987ebaab /gdb/testsuite/gdb.base/recurse.exp
parent4a1805b14d4b361cf25d688db68c7f40aadc1c9c (diff)
downloadgdb-958a4e4cdee7ecff2b81785b50c5b282b7014ac2.zip
gdb-958a4e4cdee7ecff2b81785b50c5b282b7014ac2.tar.gz
gdb-958a4e4cdee7ecff2b81785b50c5b282b7014ac2.tar.bz2
2000-11-03 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdb.base/a2-run.exp: Use gdb_skip_stdio_test. * gdb.base/corefile.exp: Expect the message "Program is being debugged already" when we send the "corefile" command, since the preceeding gdb_load may have connected gdb to a remote target. * gdb.base/display.exp: Disable hardware watchpoints if new board info variable "no_hardware_watchpoints" is true. Replace single-letter commands with more readable ones. * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints if new board info variable "no_hardware_watchpoints" is true. * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests to see if stdio (printf) testing is possible. * gdb.base/watchpoint.exp: Disable hardware watchpoints if new board info variable "no_hardware_watchpoints" is true. Use new proc "gdb_skip_stdio_tests" to see if printf tests are possible.
Diffstat (limited to 'gdb/testsuite/gdb.base/recurse.exp')
-rw-r--r--gdb/testsuite/gdb.base/recurse.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/recurse.exp b/gdb/testsuite/gdb.base/recurse.exp
index ac994f2..c222233 100644
--- a/gdb/testsuite/gdb.base/recurse.exp
+++ b/gdb/testsuite/gdb.base/recurse.exp
@@ -42,6 +42,11 @@ gdb_load ${binfile}
proc recurse_tests {} {
+ # Disable hardware watchpoints if necessary.
+ if [target_info exists gdb,no_hardware_watchpoints] {
+ gdb_test "set can-use-hw-watchpoints 0" "" ""
+ }
+
if [runto recurse] then {
# First we need to step over the assignment of b, so it has a known
# value.