aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib/gdb.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/lib/gdb.exp')
-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;
}
}