summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2010-06-04 21:45:02 +0000
committerMichael Snyder <msnyder@specifix.com>2010-06-04 21:45:02 +0000
commit2074d093fb1fe2e9294a0849b024d2d2b57f3726 (patch)
treea97328ae87afc531b55381fb77eb4938f8a4f594 /gdb/testsuite/gdb.cp
parentb0e06c2de17ef3720293e5d9f4c5ea3e2a936a7d (diff)
downloadgdb-2074d093fb1fe2e9294a0849b024d2d2b57f3726.tar.gz
2010-06-04 Michael Snyder <msnyder@vmware.com>
* gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
Diffstat (limited to 'gdb/testsuite/gdb.cp')
-rw-r--r--gdb/testsuite/gdb.cp/pr-1210.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.cp/pr-1210.exp b/gdb/testsuite/gdb.cp/pr-1210.exp
index aa5e607713d..85b49ac8c79 100644
--- a/gdb/testsuite/gdb.cp/pr-1210.exp
+++ b/gdb/testsuite/gdb.cp/pr-1210.exp
@@ -52,7 +52,7 @@ if ![runto_main] then {
gdb_test "next" ".*return 0;" "step past initialization"
-gdb_test_multiple "print *obj" "" {
+gdb_test_multiple "print *obj" "print *obj" {
-re "Cannot access memory.*$gdb_prompt $" {
fail "print *obj"
}
@@ -61,7 +61,7 @@ gdb_test_multiple "print *obj" "" {
}
}
-gdb_test_multiple "print obj->myB" "" {
+gdb_test_multiple "print obj->myB" "print obj->myB" {
-re "Cannot access memory.*$gdb_prompt $" {
fail "print obj->myB"
}