]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Put all CTF symbols in global scope
authorTom Tromey <tom@tromey.com>
Mon, 20 Jan 2025 18:06:21 +0000 (11:06 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 10 Sep 2025 22:05:27 +0000 (16:05 -0600)
commit3c238e032f52df2eecbb10382995eda206fc9947
tree13f3302407b3c64475616ed1b436777e594a1e55
parent53e6563141335737904685f7dac9ea0618c36319
Put all CTF symbols in global scope

The new approach to searching (solely via the quick API) is more
sensitive to discrepancies between the partial and full readers.  In
CTF, there is some disagreement about which scope to use.  CTF doesn't
seem to really distinguish between the file and global scope, so this
patch takes the simple approach of putting all CTF symbols into the
global scope.

This changes one test as well.  It seems to me that the behavior here
is arbitrary and the test is making unwarranted assumptions.

Acked-By: Simon Marchi <simon.marchi@efficios.com>
gdb/ctfread.c
gdb/testsuite/gdb.ctf/cross-tu-cyclic.exp