aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2/comp-unit-head.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-05-17 14:16:06 -0600
committerTom Tromey <tom@tromey.com>2021-05-17 14:16:06 -0600
commit347212b81930f9afb9e2885656f897cf3821881c (patch)
tree54c94545cd1180f0b7079a0f6a12d7d09a9fa368 /gdb/dwarf2/comp-unit-head.h
parent839118f920751fc9fd06463f6820c40f3b0baabc (diff)
downloadgdb-347212b81930f9afb9e2885656f897cf3821881c.zip
gdb-347212b81930f9afb9e2885656f897cf3821881c.tar.gz
gdb-347212b81930f9afb9e2885656f897cf3821881c.tar.bz2
Change dwarf2_cu marking to use methods
This changes the dwarf2_cu marking functions to be methods on dwarf2_cu. gdb/ChangeLog 2021-05-17 Tom Tromey <tom@tromey.com> * dwarf2/read.c (maybe_queue_comp_unit) (dwarf2_per_objfile::age_comp_units): Update. (dwarf2_add_dependence, dwarf2_mark_helper, dwarf2_mark): Move to dwarf2_cu methods. * dwarf2/cu.h (struct dwarf2_cu) <mark, clear_mark, is_marked, add_dependence>: New methods. <m_dependencies>: Add "m_" prefix. Now private. <m_mark>: Add "m_" prefix. * dwarf2/cu.c (dwarf2_cu::dwarf2_cu): Update. (dwarf2_mark_helper): New function. (dwarf2_cu::mark, dwarf2_cu::add_dependence): New methods.
Diffstat (limited to 'gdb/dwarf2/comp-unit-head.h')
0 files changed, 0 insertions, 0 deletions