This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] gdb.cp/pr-1210.exp: add msg string.


2010-06-04  Michael Snyder  <msnyder@vmware.com>

	* gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.

Index: pr-1210.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.cp/pr-1210.exp,v
retrieving revision 1.8
diff -u -p -r1.8 pr-1210.exp
--- pr-1210.exp	5 May 2010 18:06:58 -0000	1.8
+++ pr-1210.exp	4 Jun 2010 21:42:45 -0000
@@ -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"
   }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]