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.
This commit is contained in:
Edjunior Barbosa Machado 2012-08-03 16:03:07 +00:00
parent 7cf3077daf
commit 0eae2cf456
2 changed files with 10 additions and 1 deletions

View File

@ -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.

View File

@ -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)"
}