Re: [committed][gdb/testsuite] Don't leak tuiterm.exp spawn override

Andreas Schwab
2020-06-17T15:28:46Z

On Jun 17 2020, Tom de Vries wrote:

> do_this {
> puts "2: {"
> }

This is unbalanced. Since double quotes are not special in brace
enclosed strings, the close brace matches the open brace in the second
line, not the first one. If you want to include a lone brace in a tcl
string, you need to write it with double quotes.

Andreas.

--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."