diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-03-17 09:39:06 +0000 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-03-26 14:04:17 +0000 |
commit | 6b78370dcc18719d4a34d64ab759f30643d7b8d3 (patch) | |
tree | a26a7067a468403229174dd9b408d286f76eaed9 /gdb/testsuite/gdb.cp/misc.exp | |
parent | baecbb3dc8314d2c91bfda38eedbcc2911397424 (diff) | |
download | gdb-6b78370dcc18719d4a34d64ab759f30643d7b8d3.zip gdb-6b78370dcc18719d4a34d64ab759f30643d7b8d3.tar.gz gdb-6b78370dcc18719d4a34d64ab759f30643d7b8d3.tar.bz2 |
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.
Diffstat (limited to 'gdb/testsuite/gdb.cp/misc.exp')
0 files changed, 0 insertions, 0 deletions