aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/valgrind-infcall.exp
diff options
context:
space:
mode:
authorEdjunior Barbosa Machado <emachado@linux.vnet.ibm.com>2012-08-03 16:03:07 +0000
committerEdjunior Barbosa Machado <emachado@linux.vnet.ibm.com>2012-08-03 16:03:07 +0000
commit0eae2cf456a2892fe4f5eec650fad304983187d2 (patch)
tree7aaf1d6eaee07072f98786cb272c7e500df570b9 /gdb/testsuite/gdb.base/valgrind-infcall.exp
parent7cf3077dafd43804338e94ea19a4a5a87c0ae368 (diff)
downloadgdb-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/testsuite/gdb.base/valgrind-infcall.exp')
-rw-r--r--gdb/testsuite/gdb.base/valgrind-infcall.exp6
1 files changed, 5 insertions, 1 deletions
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)"
}