From: Bob Manson Date: Fri, 31 Jan 1997 01:03:51 +0000 (+0000) Subject: * lib/gdb.exp: Fix runto. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1a7dadf9cf141bdaa929ec671791e7a7e70f709d;p=binutils-gdb.git * lib/gdb.exp: Fix runto. * gdb.base/signals.exp: Check for a gdb,nosignals feature of the target. * gdb.base/watchpoint.exp: Fix regexp. Random miscellaneous fixes. Gotta dig up all these global variables someday.. --- diff --git a/gdb/testsuite/gdb.base/signals.exp b/gdb/testsuite/gdb.base/signals.exp index cb3094f1673..a362b38ca3a 100644 --- a/gdb/testsuite/gdb.base/signals.exp +++ b/gdb/testsuite/gdb.base/signals.exp @@ -1,7 +1,7 @@ -if $nosignals { - verbose "Skipping signals.exp because of nosignals." - continue - } +if [target_info exists gdb,nosignals] { + verbose "Skipping signals.exp because of nosignals." + continue +} if $tracelevel then { strace $tracelevel diff --git a/gdb/testsuite/gdb.base/watchpoint.exp b/gdb/testsuite/gdb.base/watchpoint.exp index 0a9e3074671..616fb63f417 100644 --- a/gdb/testsuite/gdb.base/watchpoint.exp +++ b/gdb/testsuite/gdb.base/watchpoint.exp @@ -379,7 +379,7 @@ proc test_stepping {} { send_gdb "finish\n" expect { - -re "Run.*exit from.*marker1.*main.* at" { } + -re "Run.*exit from.*marker1.* at" { } default { fail "finish from marker1" ; return } } expect { diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index e6d86f25a47..31b72ff838e 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -267,6 +267,7 @@ proc runto { function } { return 0 } } + return 1 } #