summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/signals.exp
diff options
context:
space:
mode:
authorKung Hsu <kung@cygnus>1995-03-24 22:06:00 +0000
committerKung Hsu <kung@cygnus>1995-03-24 22:06:00 +0000
commitc86bd3d41b3d6cc5a72d7995ae42d222888f3fa3 (patch)
tree4207b463ce2ceaedb578808abd6b1968dfa3ef3a /gdb/testsuite/gdb.base/signals.exp
parenta302b5c21909c7ee5e7a7aadf8063ce82d3412ee (diff)
downloadbinutils-gdb-c86bd3d41b3d6cc5a72d7995ae42d222888f3fa3.tar.gz
* gdb.base/callfuncs.exp: call runto_main instead of runto main.
runto_main is a proc in gdb.exp that will do 'step' for target use stubs. * gdb.base/exprs.exp: ditto. * gdb.base/interrupt.exp: ditto. * gdb.base/opaque.exp: ditto. * gdb.base/printcmds.exp: ditto. * gdb.base/ptype.exp: ditto. * gdb.base/scope.exp: ditto. * gdb.base/setvar.exp: ditto. * gdb.base/signals.exp: ditto. * gdb.base/twice.exp: ditto. * gdb.base/break.exp: no run and hit main for stubs. Change line numbers for breakpoints and info breakpoint. * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and breakpoint(). * gdb.base/callfuncs.c: ditto. * gdb.base/exprs: ditto. * gdb.base/interrupt.c: ditto. * gdb.base/opaque0.c: ditto. * gdb.base/printcmds.c: ditto. * gdb.base/ptype.c: ditto. * gdb.base/scope0.c: ditto. * gdb.base/setvar.c: ditto. * gdb.base/signals.c: ditto. * gdb.base/twice.c: ditto.
Diffstat (limited to 'gdb/testsuite/gdb.base/signals.exp')
-rw-r--r--gdb/testsuite/gdb.base/signals.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/signals.exp b/gdb/testsuite/gdb.base/signals.exp
index c222972e30f..857702cb712 100644
--- a/gdb/testsuite/gdb.base/signals.exp
+++ b/gdb/testsuite/gdb.base/signals.exp
@@ -14,7 +14,7 @@ if ![file exists $binfile] then {
proc signal_tests_1 {} {
global prompt
- if [runto main] then {
+ if [runto_main] then {
gdb_test "next" "signal \\(SIGUSR1.*" \
"next over signal (SIGALRM, handler)"
gdb_test "next" "alarm \\(.*" \
@@ -267,7 +267,7 @@ expect {
default { perror "sync trouble in signals.exp" }
}
-if [runto main] then {
+if [runto_main] then {
gdb_test "break handler if 0" "Breakpoint \[0-9\]+ .*"
gdb_test "set \$handler_breakpoint_number = \$bpnum" ""