aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/break.exp
diff options
context:
space:
mode:
authorBob Manson <manson@cygnus>1997-02-05 06:25:42 +0000
committerBob Manson <manson@cygnus>1997-02-05 06:25:42 +0000
commitb6f32a5bb9eb2dc98ffbdeef87444df795d33964 (patch)
tree9c3c1f0351fe1ee70c27fbe13529e0317c98ff53 /gdb/testsuite/gdb.base/break.exp
parent5d05bf0d50219eaad231b322d7fc18c7af2be925 (diff)
downloadgdb-b6f32a5bb9eb2dc98ffbdeef87444df795d33964.zip
gdb-b6f32a5bb9eb2dc98ffbdeef87444df795d33964.tar.gz
gdb-b6f32a5bb9eb2dc98ffbdeef87444df795d33964.tar.bz2
* config/sh.exp: New file.
* config/slite.exp: Try to connect multiple times to the board before rebooting. Only send a "monitor run" if need_monitor_run is set. * gdb.base/break.exp: Don't do the "stub continue" test if the target has gdb_stub set. * gdb.base/callfuncs.exp: Increase the timeout. * gdb.base/interrupt.exp: Don't even try to compile the testcase if the target has gdb,noinferiorio set. * gdb.base/list.exp: Increase match_max to 10000 characters. * gdb.base/sigall.exp: Check for gdb,nosignals on the target. * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the target. * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs. Misc fixes for sparclite and SH.
Diffstat (limited to 'gdb/testsuite/gdb.base/break.exp')
-rw-r--r--gdb/testsuite/gdb.base/break.exp7
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/break.exp b/gdb/testsuite/gdb.base/break.exp
index a027b2f..099fd27 100644
--- a/gdb/testsuite/gdb.base/break.exp
+++ b/gdb/testsuite/gdb.base/break.exp
@@ -157,8 +157,9 @@ if ![target_info exists use_gdb_stub] {
timeout { fail "run until function breakpoint (timeout)" }
}
} else {
- gdb_test continue "Continuing\\..*Breakpoint \[0-9\]+, main \\(argc=.*, argv=.*, envp=.*\\) at .*$srcfile:60.*60\[\t \]+if .argc.*\{" \
- "stubs continue"
+ if ![target_info exists gdb_stub] {
+ gdb_test continue "Continuing\\..*Breakpoint \[0-9\]+, main \\(argc=.*, argv=.*, envp=.*\\) at .*$srcfile:60.*60\[\t \]+if .argc.*\{" "stub continue"
+ }
}
#
@@ -308,6 +309,8 @@ proc test_next_with_recursion {} {
delete_breakpoints
+ set timeout 20;
+
gdb_test next "\[0-9\]*\[\t \]+return \\(value\\);.*" \
"next over recursive call"