gdb/testsuite: resolve duplicate test name in gdb.cp/cplusfuncs.exp
authorAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 17 Mar 2021 09:39:06 +0000 (09:39 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Fri, 26 Mar 2021 14:04:17 +0000 (14:04 +0000)
commit6b78370dcc18719d4a34d64ab759f30643d7b8d3
treea26a7067a468403229174dd9b408d286f76eaed9
parentbaecbb3dc8314d2c91bfda38eedbcc2911397424
gdb/testsuite: resolve duplicate test name in gdb.cp/cplusfuncs.exp

While resolving duplicate test names I spotted that a test in
gdb.cp/cplusfuncs.exp included an unescaped '[]'.  In TCL square
brackets enclose expressions to evaluate, and so in this case, where
there is no enclosed expression, this just evaluates to the empty
string.

This clearly was not what the test intended, so in this commit I have
escaped the square brackets.  This has extended the test coverage.

gdb/testsuite/ChangeLog:

* gdb.cp/cplusfuncs.exp (test_paddr_operator_functions): Escape
square brackets in test.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/cplusfuncs.exp
This page took 0.026635 seconds and 4 git commands to generate.