diff options
Diffstat (limited to 'gdb/testsuite/gdb.cp/class2.exp')
-rw-r--r-- | gdb/testsuite/gdb.cp/class2.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.cp/class2.exp b/gdb/testsuite/gdb.cp/class2.exp index 96e5df3..f7ebbf3 100644 --- a/gdb/testsuite/gdb.cp/class2.exp +++ b/gdb/testsuite/gdb.cp/class2.exp @@ -42,7 +42,7 @@ gdb_load ${binfile} # Start with "set print object off". -gdb_test "set print object off" "" +gdb_test_no_output "set print object off" if ![runto_main] then { perror "couldn't run to main" @@ -118,7 +118,7 @@ gdb_test "p e" "= \{<No data fields>\}" "print object with no data fields" # Printing NULL pointers with "set print object on" -gdb_test "set print object on" "" +gdb_test_no_output "set print object on" gdb_test "p acp" "= \\(C \\*\\) ${hex}" gdb_test "p acp->c1" "\\(A \\*\\) 0x0" gdb_test "p acp->c2" "\\(A \\*\\) ${hex}f" |