diff options
Diffstat (limited to 'gdb/testsuite/gdb.cp')
-rw-r--r-- | gdb/testsuite/gdb.cp/arg-reference.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.cp/baseenum.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.cp/operator.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.cp/shadow.exp | 10 |
4 files changed, 8 insertions, 8 deletions
diff --git a/gdb/testsuite/gdb.cp/arg-reference.exp b/gdb/testsuite/gdb.cp/arg-reference.exp index 7da075a..e43ad94 100644 --- a/gdb/testsuite/gdb.cp/arg-reference.exp +++ b/gdb/testsuite/gdb.cp/arg-reference.exp @@ -30,4 +30,4 @@ if {[prepare_for_testing $testfile.exp $testfile $srcfile {debug c++}]} { return -1 } -gdb_test "ptype foo" "type = int \\\(Obj\\\)" "No false reference" +gdb_test "ptype foo" "type = int \\\(Obj\\\)" "no false reference" diff --git a/gdb/testsuite/gdb.cp/baseenum.exp b/gdb/testsuite/gdb.cp/baseenum.exp index 0a9343b..16de7d2 100644 --- a/gdb/testsuite/gdb.cp/baseenum.exp +++ b/gdb/testsuite/gdb.cp/baseenum.exp @@ -28,7 +28,7 @@ if {![runto_main]} { gdb_breakpoint [gdb_get_line_number "breakpoint 1" $srcfile] gdb_continue_to_breakpoint "breakpoint 1" -gdb_test "print X" "= A::X" "Print enum constant X of class A" +gdb_test "print X" "= A::X" "print enum constant X of class A" gdb_breakpoint [gdb_get_line_number "breakpoint 2" $srcfile] gdb_continue_to_breakpoint "breakpoint 2" diff --git a/gdb/testsuite/gdb.cp/operator.exp b/gdb/testsuite/gdb.cp/operator.exp index fce5c37..dc3d39a 100644 --- a/gdb/testsuite/gdb.cp/operator.exp +++ b/gdb/testsuite/gdb.cp/operator.exp @@ -33,7 +33,7 @@ gdb_test "p a == 'a'" "= 12" "global operator overload" # Test ADL operator gdb_test "p bc == 1" "= 22" "ADL operator" gdb_test "p bc == 'a'" "= 23" "ADL operator overload" -gdb_test "p B::BD::operator== (bc,'a')" "= 24" "Fully qualified explicit operator call" +gdb_test "p B::BD::operator== (bc,'a')" "= 24" "fully qualified explicit operator call" # Test operator imported from anonymous namespace gdb_test "p d == 1" "= 33" "anonymous namespace operator" 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" |