aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1994-04-05 22:21:55 +0000
committerJeff Law <law@redhat.com>1994-04-05 22:21:55 +0000
commit32a1239cc8128dd55b1cb7381f0127c98d1542ea (patch)
tree5d601c2e5de4d9840cb93fb2acb772b716850571
parentf0705d183116c178fcb40db7cf48a513c8ddb9d3 (diff)
downloadgdb-32a1239cc8128dd55b1cb7381f0127c98d1542ea.zip
gdb-32a1239cc8128dd55b1cb7381f0127c98d1542ea.tar.gz
gdb-32a1239cc8128dd55b1cb7381f0127c98d1542ea.tar.bz2
* gdb.t00/default.exp: Use "exp_continue" rather than obsolete
"continue -expect". * gdb.t06/break.exp: Likewise. * gdb.t07/watchpoint.exp: Likewise. * gdb.t13/bitfields.exp: Likewise. * gdb.t15/{funcargs,return}.exp: Likewise. * gdb.stabs/weird.exp: Likewise. * config/{mips,udi}-gdb.exp: Likewise.
-rw-r--r--gdb/testsuite/config/mips-gdb.exp2
-rw-r--r--gdb/testsuite/config/udi-gdb.exp4
2 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/config/mips-gdb.exp b/gdb/testsuite/config/mips-gdb.exp
index f4efc19..9531117 100644
--- a/gdb/testsuite/config/mips-gdb.exp
+++ b/gdb/testsuite/config/mips-gdb.exp
@@ -69,7 +69,7 @@ proc gdb_load { arg } {
expect {
-re "A program is being debugged already. Kill it\? \(y or n\)" {
send "y\n"
- continue -expect
+ exp_continue
}
-re "Reading symbols from.*done..*$prompt $" { }
-re "$prompt $" { error "GDB couldn't read file" }
diff --git a/gdb/testsuite/config/udi-gdb.exp b/gdb/testsuite/config/udi-gdb.exp
index e12ed6f..000be06 100644
--- a/gdb/testsuite/config/udi-gdb.exp
+++ b/gdb/testsuite/config/udi-gdb.exp
@@ -56,7 +56,7 @@ proc gdb_target_udi { } {
set timeout 60
expect {
-re "target udi $targetname\[\r\n\]+" {
- continue -expect
+ exp_continue
}
-re "TIP UDI 1.2 Conformant.*$prompt $" {
verbose "Set target to $targetname"
@@ -69,7 +69,7 @@ proc gdb_target_udi { } {
}
-re "A program is being debugged already. Kill it\? \(y or n\)" {
send "y\n"
- continue -expect
+ exp_continue
}
timeout {
error "Couldn't set target for UDI."