This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, gdb] Fix now illegal upper case gdb command in chained-calls.exp


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
diff --git a/gdb/testsuite/gdb.cp/chained-calls.exp b/gdb/testsuite/gdb.cp/chained-calls.exp
index c48bd49c8bfe091f7c0ff0696c2334e9a392965e..17c164d8352c357fb681a916a8011e457d54fb99 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 ()"

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]