diff options
Diffstat (limited to 'gdb/testsuite/gdb.cp/shadow.exp')
-rw-r--r-- | gdb/testsuite/gdb.cp/shadow.exp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.cp/shadow.exp b/gdb/testsuite/gdb.cp/shadow.exp index d6970ca..bdd02b2 100644 --- a/gdb/testsuite/gdb.cp/shadow.exp +++ b/gdb/testsuite/gdb.cp/shadow.exp @@ -39,7 +39,7 @@ if ![runto_main] then { gdb_breakpoint [gdb_get_line_number "marker1"] gdb_continue_to_breakpoint "marker1" -gdb_test "print x" "= 33" "Print class x shadowing global x" +gdb_test "print x" "= 33" "print class x shadowing global x" ############################################ @@ -49,7 +49,7 @@ gdb_test "print x" "= 33" "Print class x shadowing global x" gdb_breakpoint [gdb_get_line_number "marker2"] gdb_continue_to_breakpoint "marker2" -gdb_test "print x" "= 44" "Print local x shadowing class x" +gdb_test "print x" "= 44" "print local x shadowing class x" ############################################ # Test inner scope x is printed not outer scope @@ -57,7 +57,7 @@ gdb_test "print x" "= 44" "Print local x shadowing class x" gdb_breakpoint [gdb_get_line_number "marker3"] gdb_continue_to_breakpoint "marker3" -gdb_test "print x" "= 55" "Print inner scope x" +gdb_test "print x" "= 55" "print inner scope x" ############################################ # Test printing local variable is not shadowed @@ -66,7 +66,7 @@ gdb_test "print x" "= 55" "Print inner scope x" gdb_breakpoint [gdb_get_line_number "marker4"] gdb_continue_to_breakpoint "marker4" -gdb_test "print x" "= 55" "Print local x not namespace x" +gdb_test "print x" "= 55" "print local x not namespace x" ############################################ # Test imported namespace element is printed @@ -79,4 +79,4 @@ if { [test_compiler_info {gcc-[0-3]-*}] || setup_xfail *-*-* } -gdb_test "print x" "= 11" "Print imported namespace x" +gdb_test "print x" "= 11" "print imported namespace x" |