diff options
author | Thomas Preud'homme <thomas.preudhomme@arm.com> | 2017-02-15 11:24:27 +0000 |
---|---|---|
committer | Thomas Preud'homme <thomas.preudhomme@arm.com> | 2017-02-15 11:26:38 +0000 |
commit | b58a8c0c83d58c8f4be67dc1d7a1d9a5e1edba82 (patch) | |
tree | 0ac3eac2219fec2ade0a0e628f98fe1d7291ffbe /gdb | |
parent | cc07cda69e26ef28895086e1f214ddd1d3cb939d (diff) | |
download | gdb-b58a8c0c83d58c8f4be67dc1d7a1d9a5e1edba82.zip gdb-b58a8c0c83d58c8f4be67dc1d7a1d9a5e1edba82.tar.gz gdb-b58a8c0c83d58c8f4be67dc1d7a1d9a5e1edba82.tar.bz2 |
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 <thomas.preudhomme@arm.com>
gdb/
* gdb.cp/chained-calls.exp: Use p instead of P.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.cp/chained-calls.exp | 2 |
2 files changed, 5 insertions, 1 deletions
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 <thomas.preudhomme@arm.com> + + * gdb.cp/chained-calls.exp: Use p instead of P. + 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com> * 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 ()" |