Fix now illegal upper case gdb command in chained-calls.exp
Commit Message
Hi,
3d7b173c29900879c9a5958dd6029fd36666e57c made upper case commands now
illegal. However gdb.cp/chained-calls.exp still contains one test using
P to print an expression. This patch fixes the testcase to use p
instead.
ChangeLog is as follows:
2017-02-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
* gdb.cp/chained-calls.exp: Use p instead of P.
Committed as obvious.
Best regards,
Thomas
@@ -40,5 +40,5 @@ gdb_test "p g(f(g(f(300) + f(40))) + f(5))" ".* = 345" \
gdb_test "p getb(makeb(), 789)" ".* = 789" "getb(makeb(), ...)"
gdb_test "p *c" ".* = {a = 5678}" "*c"
gdb_test "p *c + *c" ".* = {a = 11356}" "*c + *c"
-gdb_test "P q(*c + *c)" ".* = {a = 11356}" "q(*c + *c)"
+gdb_test "p q(*c + *c)" ".* = {a = 11356}" "q(*c + *c)"
gdb_test "p make_int().get_type ()" ".* = INT" "make_int().get_type ()"