From 31015e1de02e4367a8ef1f25fcb3ca518d13a0c7 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Wed, 14 Dec 2011 19:50:18 +0000 Subject: [PATCH] * lib/gdb.exp (gdb_start_cmd): Fix error return value. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/lib/gdb.exp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index b2cc4bb72fa..9ce9c0255bf 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2011-12-14 Doug Evans + + * lib/gdb.exp (gdb_start_cmd): Fix error return value. + 2011-12-14 Pedro Alves PR threads/10729 diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 633dc267e78..fc7e223ed87 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -307,7 +307,7 @@ proc gdb_start_cmd {args} { -re "$gdb_prompt $" { } default { perror "gdb_init_command for target failed"; - return; + return -1; } } } -- 2.30.2