From: Doug Evans Date: Wed, 14 Dec 2011 19:50:18 +0000 (+0000) Subject: * lib/gdb.exp (gdb_start_cmd): Fix error return value. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=31015e1de02e4367a8ef1f25fcb3ca518d13a0c7;p=binutils-gdb.git * lib/gdb.exp (gdb_start_cmd): Fix error return value. --- 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; } } }