aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorBob Manson <manson@cygnus>1997-01-31 01:03:51 +0000
committerBob Manson <manson@cygnus>1997-01-31 01:03:51 +0000
commit1a7dadf9cf141bdaa929ec671791e7a7e70f709d (patch)
treea6d825f714e457f1d1f0ba634a94bd1afac86121 /gdb/testsuite/gdb.base
parent83b1cc25d102625b379de9b65b54cd727ae49333 (diff)
downloadgdb-1a7dadf9cf141bdaa929ec671791e7a7e70f709d.zip
gdb-1a7dadf9cf141bdaa929ec671791e7a7e70f709d.tar.gz
gdb-1a7dadf9cf141bdaa929ec671791e7a7e70f709d.tar.bz2
* 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..
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 cb3094f..a362b38 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 0a9e307..616fb63 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 {