* lib/gdb.exp(gdb_test): Generate a FAIL message when

send_gdb fails.
This commit is contained in:
Bob Manson 1997-02-24 21:24:26 +00:00
parent ec72a26633
commit 3c0af8a010
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
* lib/gdb.exp(gdb_test): Generate a FAIL message when
send_gdb fails.
Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
* config/vr4300.exp: New file.

View File

@ -350,6 +350,7 @@ proc gdb_test { args } {
if ![string match $command ""] {
if { [send_gdb "$command\n"] != "" } {
perror "Couldn't send $command to GDB.";
fail "$message";
return $result;
}
}