Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom de Vries <tdevries@suse.de>
To: gdb-patches@sourceware.org
Subject: [pushed 1/7] [gdb/testsuite] Remove unused declarations in lib/tuiterm.exp
Date: Wed, 14 Oct 2026 16:58:32 +0200	[thread overview]
Message-ID: <20261014145838.3560108-2-tdevries@suse.de> (raw)
In-Reply-To: <20261014145838.3560108-1-tdevries@suse.de>

Remove unused declarations in the procs in lib/tuiterm.exp.
---
 gdb/testsuite/lib/tuiterm.exp | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/gdb/testsuite/lib/tuiterm.exp b/gdb/testsuite/lib/tuiterm.exp
index 035cb04dda4..3ca961a3f7d 100644
--- a/gdb/testsuite/lib/tuiterm.exp
+++ b/gdb/testsuite/lib/tuiterm.exp
@@ -315,7 +315,6 @@ proc Term::_csi_F {args} {
     _log_cur "Cursor Previous Line ($arg)" {
 	variable _cur_col
 	variable _cur_row
-	variable _rows
 
 	set _cur_col 0
 	set _cur_row [expr {max ($_cur_row - $arg, 0)}]
@@ -427,7 +426,6 @@ proc Term::_csi_L {args} {
     set arg [_default [lindex $args 0] 1]
 
     _log_cur "Insert Line ($arg)" {
-	variable _cur_col
 	variable _cur_row
 	variable _rows
 	variable _cols
@@ -506,8 +504,6 @@ proc Term::_csi_S {args} {
     set count [_default [lindex $args 0] 1]
 
     _log_cur "Pan Down ($count)" {
-	variable _cur_col
-	variable _cur_row
 	variable _cols
 	variable _rows
 	variable _chars
@@ -540,8 +536,6 @@ proc Term::_csi_T {args} {
     set count [_default [lindex $args 0] 1]
 
     _log_cur "Pan Up ($count)" {
-	variable _cur_col
-	variable _cur_row
 	variable _cols
 	variable _rows
 	variable _chars
@@ -1610,7 +1604,6 @@ proc Term::get_region { x y width height sep { attrs false } } {
 # the contents within a box (though check_box_contents is a better
 # choice for boxes with a border).  Return 1 if check succeeded.
 proc Term::check_region_contents_p { x y width height regexp } {
-    variable _chars
     dump_box $x $y $width $height
 
     # Now grab the contents of the box, join each line together
@@ -1634,8 +1627,6 @@ proc Term::check_region_contents { test_name x y width height regexp } {
 # box where expected, if there is then the contents of the box are
 # matched against REGEXP.
 proc Term::check_box_contents {test_name x y width height regexp} {
-    variable _chars
-
     dump_box $x $y $width $height
     set why [_check_box $x $y $width $height]
     if {$why != ""} {
-- 
2.51.0


  reply	other threads:[~2026-10-14 15:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-14 14:58 [pushed 0/7] [gdb/testsuite] Tuiterm maintenance Tom de Vries
2026-10-14 14:58 ` Tom de Vries [this message]
2026-10-14 14:58 ` [pushed 2/7] [gdb/testsuite] Factor out Term::_copy_line Tom de Vries
2026-10-14 14:58 ` [pushed 3/7] [gdb/testsuite] Factor out small_initial in gdb.tui/tuiterm.exp Tom de Vries
2026-10-14 14:58 ` [pushed 4/7] [gdb/testsuite] Add Term::check_size Tom de Vries
2026-10-14 14:58 ` [pushed 5/7] [gdb/testsuite] Work around namespace problem in tclint plugin Tom de Vries
2026-10-14 14:58 ` [pushed 6/7] [gdb/testsuite] Fix typo in tclint-plugin.py Tom de Vries
2026-10-14 14:58 ` [pushed 7/7] [gdb/testsuite] Fix test names in gdb.tui/tuiterm.exp Tom de Vries

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261014145838.3560108-2-tdevries@suse.de \
    --to=tdevries@suse.de \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox