Fix illegal upper case gdb cmd in chained-calls.exp

3d7b173c29 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.
This commit is contained in:
Thomas Preud'homme 2017-02-15 11:24:27 +00:00
parent cc07cda69e
commit b58a8c0c83
2 changed files with 5 additions and 1 deletions

View File

@ -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,

View File

@ -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 ()"