* 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..
-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
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 {
return 0
}
}
+ return 1
}
#