From c86bd3d41b3d6cc5a72d7995ae42d222888f3fa3 Mon Sep 17 00:00:00 2001 From: Kung Hsu Date: Fri, 24 Mar 1995 22:06:00 +0000 Subject: * 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. --- gdb/testsuite/gdb.base/signals.exp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/testsuite/gdb.base/signals.exp') 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" "" -- cgit v1.2.1