Post-commit review [1] pointed out that this change in gdb.tui/empty.exp:
...
- eval Term::check_box [list "box $boxno"] $box
+ Term::check_box [list "box $boxno"] {*}$box
...
is incomplete because it leaves the "[list ...]" in place.
Indeed, it changes the test name like this:
...
-PASS: gdb.tui/empty.exp: src: 80x24: box 1
+PASS: gdb.tui/empty.exp: src: 80x24: {box 1}
...
Fix this by dropping the "[list ...]".
Likewise in gdb.tui/new-layout.exp.
[1] https://sourceware.org/pipermail/gdb-patches/2025-September/220863.html
proc check_boxes {boxes} {
set boxno 1
foreach box $boxes {
- Term::check_box [list "box $boxno"] {*}$box
+ Term::check_box "box $boxno" {*}$box
incr boxno
}
}
proc check_boxes {boxes} {
set boxno 1
foreach box $boxes {
- Term::check_box [list "box $boxno"] {*}$box
+ Term::check_box "box $boxno" {*}$box
incr boxno
}
}