summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/signals.exp8
-rw-r--r--gdb/testsuite/gdb.base/watchpoint.exp2
2 files changed, 5 insertions, 5 deletions
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 {