* lib/gdb.exp(gdb_test): Generate a FAIL message when
send_gdb fails.
This commit is contained in:
parent
ec72a26633
commit
3c0af8a010
@ -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.
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user