aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib
diff options
context:
space:
mode:
authorBob Manson <manson@cygnus>1997-02-24 21:24:26 +0000
committerBob Manson <manson@cygnus>1997-02-24 21:24:26 +0000
commit3c0af8a010aa4cd7b907729cf7f5e6ce9a517041 (patch)
tree80a0baab42b2ccb6e3443916554b9e15aeb3004e /gdb/testsuite/lib
parentec72a26633bdda8d7522bf756fcce9c621d8ac45 (diff)
downloadgdb-3c0af8a010aa4cd7b907729cf7f5e6ce9a517041.zip
gdb-3c0af8a010aa4cd7b907729cf7f5e6ce9a517041.tar.gz
gdb-3c0af8a010aa4cd7b907729cf7f5e6ce9a517041.tar.bz2
* lib/gdb.exp(gdb_test): Generate a FAIL message when
send_gdb fails.
Diffstat (limited to 'gdb/testsuite/lib')
-rw-r--r--gdb/testsuite/lib/gdb.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index 2e33b70..4e0920f 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -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;
}
}