From b58a8c0c83d58c8f4be67dc1d7a1d9a5e1edba82 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Wed, 15 Feb 2017 11:24:27 +0000 Subject: Fix illegal upper case gdb cmd in chained-calls.exp 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. 2017-02-13 Thomas Preud'homme gdb/ * gdb.cp/chained-calls.exp: Use p instead of P. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.cp/chained-calls.exp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'gdb/testsuite') diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 7b58506..0a4f81e 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2017-02-15 Thomas Preud'homme + + * gdb.cp/chained-calls.exp: Use p instead of P. + 2017-02-14 Tim Wiederhake * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp, diff --git a/gdb/testsuite/gdb.cp/chained-calls.exp b/gdb/testsuite/gdb.cp/chained-calls.exp index c48bd49..17c164d 100644 --- a/gdb/testsuite/gdb.cp/chained-calls.exp +++ b/gdb/testsuite/gdb.cp/chained-calls.exp @@ -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 ()" -- cgit v1.1