diff options
author | Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> | 2012-08-03 16:03:07 +0000 |
---|---|---|
committer | Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> | 2012-08-03 16:03:07 +0000 |
commit | 0eae2cf456a2892fe4f5eec650fad304983187d2 (patch) | |
tree | 7aaf1d6eaee07072f98786cb272c7e500df570b9 /gdb | |
parent | 7cf3077dafd43804338e94ea19a4a5a87c0ae368 (diff) | |
download | gdb-0eae2cf456a2892fe4f5eec650fad304983187d2.zip gdb-0eae2cf456a2892fe4f5eec650fad304983187d2.tar.gz gdb-0eae2cf456a2892fe4f5eec650fad304983187d2.tar.bz2 |
2012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
* gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
symbols. Abort if vgdb remote connection is closed.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/valgrind-infcall.exp | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 06b05f9..debce65 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com> + + * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's + symbols. Abort if vgdb remote connection is closed. + 2012-08-02 Doug Evans <dje@google.com> * 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 f2aa1ad..3224e9c 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)" } |