Miscellaneous fixes for config/slite.exp.

This commit is contained in:
Bob Manson 1997-01-31 04:38:01 +00:00
parent ef87597cfa
commit 0e865b3950
2 changed files with 22 additions and 17 deletions

View File

@ -1,5 +1,7 @@
Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
* config/slite.exp: Miscellaneous fixes.
* lib/gdb.exp: Fix runto.
* gdb.base/signals.exp: Check for a gdb,nosignals feature of

View File

@ -141,7 +141,11 @@ proc gdb_load { arg } {
}
if [target_info exists gdb_serial] {
send_gdb "target remote [target_info gdb_serial]\n"
set serial [target_info gdb_serial];
} else {
set serial [target_info serial];
}
send_gdb "target remote $serial\n"
set timeout 60
verbose "Timeout is now $timeout seconds" 2
expect {
@ -159,7 +163,6 @@ proc gdb_load { arg } {
return -1
}
}
}
if [info exists expect_out(buffer)] then {
send_log $expect_out(buffer)