diff options
author | Michael Snyder <msnyder@specifix.com> | 2000-11-14 22:12:26 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@specifix.com> | 2000-11-14 22:12:26 +0000 |
commit | 21448313ab84029be1e553821930afa2c0d69dc3 (patch) | |
tree | ebace72a7fcdce8e3eeede38096acc5dc35d5810 /gdb/testsuite/gdb.base/restore.exp | |
parent | fc1dac3bb08f914500c1f26c776c1da6f7624c7c (diff) | |
download | gdb-21448313ab84029be1e553821930afa2c0d69dc3.tar.gz |
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/restore.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/restore.exp | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/gdb/testsuite/gdb.base/restore.exp b/gdb/testsuite/gdb.base/restore.exp index 8cf5035f163..ff563efa5e2 100644 --- a/gdb/testsuite/gdb.base/restore.exp +++ b/gdb/testsuite/gdb.base/restore.exp @@ -87,19 +87,24 @@ proc restore_tests { } { } } - send_gdb "continue\n" - - gdb_expect { - -re "exiting" { - pass "run to completion" - } - timeout { - fail "(timeout) run to completion" - } + if ![gdb_skip_stdio_test "run to completion"] { + send_gdb "continue\n" + + gdb_expect { + -re "exiting" { + pass "run to completion" + } + timeout { + fail "(timeout) run to completion" + } + } + } else { + gdb_test "continue" "" "" } } + # Start with a fresh gdb. gdb_exit |