]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Avoid scopes.exp failure on certain architectures
authorTom Tromey <tromey@adacore.com>
Tue, 12 Aug 2025 13:13:26 +0000 (07:13 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 12 Aug 2025 13:18:42 +0000 (07:18 -0600)
commit2bbe3bb5d938a83c871cdc995b5f8a9ff5bec100
treeb3a8d47e2a02e0d4fa7896ac774f7756c596c02c
parentbbb7a2e2c579beda6fd4e81692b2fe90715ba884
Avoid scopes.exp failure on certain architectures

A buildbot pointed out that my changes to gdb.dap/scopes.exp caused a
test failure.  The new code iterates over all the registers, fetching
their children (when possible).  The failure comes because this code
failed to consider that a register might have "indexed" children,
which I believe can occur when a register is vector-like.

This patch fixes the problem by arranging to fetch indexed children
when indicated.
gdb/testsuite/gdb.dap/scopes.exp