Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] Don't nest double quotes in tuiterm.exp
@ 2025-07-30 18:07 Tom Tromey
  2025-07-31  5:16 ` Tom de Vries
  0 siblings, 1 reply; 5+ messages in thread
From: Tom Tromey @ 2025-07-30 18:07 UTC (permalink / raw)
  To: gdb-patches; +Cc: Tom Tromey

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.
---
 gdb/testsuite/lib/tuiterm.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/testsuite/lib/tuiterm.exp b/gdb/testsuite/lib/tuiterm.exp
index cc8e852690a..b83b8afdcec 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]"
 	}
     }
 

base-commit: 303045d9539d9032208b8b67f222943ff4c96b05
-- 
2.50.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-09-09 19:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-30 18:07 [PATCH] Don't nest double quotes in tuiterm.exp Tom Tromey
2025-07-31  5:16 ` Tom de Vries
2025-09-09  7:18   ` Tom de Vries
2025-09-09 17:56     ` Tom Tromey
2025-09-09 19:01       ` Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox