aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2025-07-30 12:05:38 -0600
committerTom Tromey <tromey@adacore.com>2025-07-31 10:08:44 -0600
commit9a4d1b409c01bf11ee0fefb6975fa36cf090ada0 (patch)
tree521d6ff317b12f1a2166b9d9868ce9decf71064d
parent8a6f3a0462063fec4c16b5ecf98bc54a702ac3e2 (diff)
downloadbinutils-9a4d1b409c01bf11ee0fefb6975fa36cf090ada0.zip
binutils-9a4d1b409c01bf11ee0fefb6975fa36cf090ada0.tar.gz
binutils-9a4d1b409c01bf11ee0fefb6975fa36cf090ada0.tar.bz2
Don't nest double quotes in tuiterm.exp
I found a line in tuiterm.exp that causes Emacs paren-matching to go awry. This patch fixes the problem by changing some apparent nested double quotes (which I think isn't really possible in Tcl but this seems to be the intent) to be more correct; which fixes the Emacs issue as well. Approved-By: Tom de Vries <tdevries@suse.de>
-rw-r--r--gdb/testsuite/lib/tuiterm.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/lib/tuiterm.exp b/gdb/testsuite/lib/tuiterm.exp
index cc8e852..b83b8af 100644
--- a/gdb/testsuite/lib/tuiterm.exp
+++ b/gdb/testsuite/lib/tuiterm.exp
@@ -1291,7 +1291,7 @@ namespace eval Term {
for {set y 0} {$y < $_rows} {incr y} {
set fmt [format %5d $y]
- verbose -log "$fmt [get_line_1 $y "" $attrs]"
+ verbose -log "$fmt [get_line_1 $y {} $attrs]"
}
}