* 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..
This commit is contained in:
Bob Manson
1997-01-31 01:03:51 +00:00
parent 83b1cc25d1
commit 1a7dadf9cf
3 changed files with 6 additions and 5 deletions
gdb/testsuite

@ -1,4 +1,4 @@
if $nosignals { if [target_info exists gdb,nosignals] {
verbose "Skipping signals.exp because of nosignals." verbose "Skipping signals.exp because of nosignals."
continue continue
} }

@ -379,7 +379,7 @@ proc test_stepping {} {
send_gdb "finish\n" send_gdb "finish\n"
expect { expect {
-re "Run.*exit from.*marker1.*main.* at" { } -re "Run.*exit from.*marker1.* at" { }
default { fail "finish from marker1" ; return } default { fail "finish from marker1" ; return }
} }
expect { expect {

@ -267,6 +267,7 @@ proc runto { function } {
return 0 return 0
} }
} }
return 1
} }
# #