aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2/macro.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2025-01-31 12:25:05 -0700
committerTom Tromey <tom@tromey.com>2025-02-19 17:58:02 -0700
commit0aa72b65f7841662c63d5b1652e8c7868a7c167b (patch)
tree0331941655c82fa4c59132d7d155bb3f4a1f4c91 /gdb/dwarf2/macro.c
parent2e8e54fc54c196f49f4b975dc88997b79bae92e9 (diff)
downloadbinutils-0aa72b65f7841662c63d5b1652e8c7868a7c167b.zip
binutils-0aa72b65f7841662c63d5b1652e8c7868a7c167b.tar.gz
binutils-0aa72b65f7841662c63d5b1652e8c7868a7c167b.tar.bz2
Clean up calls to prepare_one_comp_unit
Currently, prepare_one_comp_unit is called somewhat haphazardly: it is mostly called when a CU is read, but some places manage to instantiate a cutu_reader* without calling it, and some code (e.g., read_file_scope) calls it without really needing to. Aside from contributing to the general confusion around CU reading, this doesn't really cause problems in the current tree. However, it is possible for the DWARF reader to check the CU's producer before it is ever set -- which is certainly unintended.
Diffstat (limited to 'gdb/dwarf2/macro.c')
0 files changed, 0 insertions, 0 deletions