]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/testsuite] Fix gdb.tui/pr30056.exp arrow right test
authorTom de Vries <tdevries@suse.de>
Tue, 30 Sep 2025 13:36:05 +0000 (15:36 +0200)
committerTom de Vries <tdevries@suse.de>
Tue, 30 Sep 2025 13:36:05 +0000 (15:36 +0200)
commit1e58e321200cb4cd40b396f7e60ebf5fd60dc1bc
treeec506d8831419700a7650a702b21827b8da8d092
parent1b28027e89b199af795fd92c34b624e980171cea
[gdb/testsuite] Fix gdb.tui/pr30056.exp arrow right test

On aarch64-linux, I run into:
...
FAIL: gdb.tui/pr30056.exp: arrow right
...
because while the intention is to observe the change from:
...
|       20 main (void)                  |
...
into:
...
|       20 ain (void)                   |
...
we're actually looking at another line.

Fix this by looking at the contents of the entire source window.

Tested on aarch64-linux and x86_64-linux.

PR testsuite/33506
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=33506
gdb/testsuite/gdb.tui/pr30056.exp