From: Edjunior Barbosa Machado Date: Fri, 3 Aug 2012 16:03:07 +0000 (+0000) Subject: 2012-08-03 Edjunior Machado X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0eae2cf456a2892fe4f5eec650fad304983187d2;p=binutils-gdb.git 2012-08-03 Edjunior Machado * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's symbols. Abort if vgdb remote connection is closed. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 06b05f91f59..debce6521b6 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2012-08-03 Edjunior Machado + + * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's + symbols. Abort if vgdb remote connection is closed. + 2012-08-02 Doug Evans * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x. diff --git a/gdb/testsuite/gdb.base/valgrind-infcall.exp b/gdb/testsuite/gdb.base/valgrind-infcall.exp index f2aa1adfa01..3224e9cdd8c 100644 --- a/gdb/testsuite/gdb.base/valgrind-infcall.exp +++ b/gdb/testsuite/gdb.base/valgrind-infcall.exp @@ -85,7 +85,7 @@ unset_board_info fileid clean_restart $executable -gdb_test "$vgdbcmd" " in _start .*" "target remote for vgdb" +gdb_test "$vgdbcmd" " in \\.?_start .*" "target remote for vgdb" gdb_test "monitor v.set gdb_output" "valgrind output will go to gdb.*" @@ -97,6 +97,10 @@ while 1 { pass $test break } + -re "Remote connection closed.*\r\n$gdb_prompt $" { + fail "$test (remote connection closed)" + return -1 + } -re "\r\n$gdb_prompt $" { pass "$test (false warning)" }