]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/testsuite] Fix gdb.tui/tui-mode-switch.exp on aarch64
authorTom de Vries <tdevries@suse.de>
Mon, 18 Aug 2025 14:17:15 +0000 (16:17 +0200)
committerTom de Vries <tdevries@suse.de>
Mon, 18 Aug 2025 14:17:15 +0000 (16:17 +0200)
commitd412728cda0e7d14a46cfbe6beb6e2c65088f301
tree2c02c19fcd5984fe47b604c4c2a93c3ce05bba83
parent5bef3e65ec3ffdc03b1c678f21b4e16007ff03ea
[gdb/testsuite] Fix gdb.tui/tui-mode-switch.exp on aarch64

On aarch64-linux, occasionally I run into these warnings:
...
PASS: gdb.tui/tui-mode-switch.exp: set style enabled off
WARNING: timeout in accept_gdb_output
PASS: gdb.tui/tui-mode-switch.exp: no boo
WARNING: timeout in accept_gdb_output
...

The first in more detail:
...
Box Dump (40 x 1) @ (0, 11):
   11 b(gdb) b
WARNING: timeout in accept_gdb_output
...

Fix this by waiting for a prompt after leaving TUI before sending "b".

Also, while we're at it generate a few more passes.

Tested on aarch64-linux.
gdb/testsuite/gdb.tui/tui-mode-switch.exp