aboutsummaryrefslogtreecommitdiff
path: root/gdb/blockframe.c
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2025-04-08 14:02:26 +0100
committerNick Alcock <nick.alcock@oracle.com>2025-04-08 14:02:26 +0100
commiteda34582aa3322899fa6889aba05573e908a8cc0 (patch)
tree1edb84a9e6f542b51ff0c6b97653b679f517cfe4 /gdb/blockframe.c
parentcba57e167d73528f54dd7a70c21f89aff14571c2 (diff)
downloadbinutils-users/nalcock/road-to-ctfv4.zip
binutils-users/nalcock/road-to-ctfv4.tar.gz
binutils-users/nalcock/road-to-ctfv4.tar.bz2
libctf: open: don't play with ctf_typemax during name table initusers/nalcock/road-to-ctfv4
This seemed safe, but name table init includes ptrtab initialization, and *that* involves doing ctf_type_to_index() on the type the pointer references -- which can be a forward-reference. So ctf_typemax must have its final valid value at all stages in this loop or we can't get an index back out reliably. Playing with ctf_typemax here doesn't really buy us anything, only stopping us from doing name lookups on types we can't look up names for anyway because we haven't yet put them in the name table hashes.
Diffstat (limited to 'gdb/blockframe.c')
0 files changed, 0 insertions, 0 deletions