diff options
author | Bob Manson <manson@cygnus> | 1997-01-31 01:03:51 +0000 |
---|---|---|
committer | Bob Manson <manson@cygnus> | 1997-01-31 01:03:51 +0000 |
commit | 1a7dadf9cf141bdaa929ec671791e7a7e70f709d (patch) | |
tree | a6d825f714e457f1d1f0ba634a94bd1afac86121 /gdb | |
parent | 83b1cc25d102625b379de9b65b54cd727ae49333 (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/testsuite/gdb.base/signals.exp | 8 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/watchpoint.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 1 |
3 files changed, 6 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 { diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index e6d86f2..31b72ff 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -267,6 +267,7 @@ proc runto { function } { return 0 } } + return 1 } # |