diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2023-01-26 15:46:51 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2023-01-26 15:53:50 -0500 |
commit | 4707199bd760f26cbc32614dd9f7c6ed7d2efdda (patch) | |
tree | 4c679dbecccb229866162972b6ea84fe91e03bb1 /opcodes/s12z-opc.h | |
parent | d4c4ea75838091b6bf52d97208bd2fa4021951db (diff) | |
download | gdb-4707199bd760f26cbc32614dd9f7c6ed7d2efdda.zip gdb-4707199bd760f26cbc32614dd9f7c6ed7d2efdda.tar.gz gdb-4707199bd760f26cbc32614dd9f7c6ed7d2efdda.tar.bz2 |
gdb/testsuite: initialize "correct" variable in gdb.cp/cpexprs.exp.tcl
Due to a GDB bug (visible when building with -D_GLIBCXX_DEBUG), GDB
crashes somewhere in the middle of gdb.cp/cpexprs.exp, and thus fails to
read the string, at gdb.cp/cpexprs.exp.tcl:725. The "correct" variable
doesn't get set, and I then see this TCL error:
ERROR: can't read "correct": no such variable
Avoid the TCL error by initializing the "correct" variable to a dummy
value.
Change-Id: I828968d9b2d105ef47f8da2ef598aa16a518c059
Diffstat (limited to 'opcodes/s12z-opc.h')
0 files changed, 0 insertions, 0 deletions