]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/dwarf: rename comp_unit_die to top_level_die
authorSimon Marchi <simon.marchi@polymtl.ca>
Sat, 8 Mar 2025 03:02:41 +0000 (22:02 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Mon, 10 Mar 2025 15:28:10 +0000 (11:28 -0400)
commitcc0fdf9861088cda915dc4a5b60132f67ef3d8db
tree9d8c7aea45643cee264e62d46d66e1059b17e5e5
parent3f239fd3ff0d0b25d5c4eb0bfca04416bf50b0c5
gdb/dwarf: rename comp_unit_die to top_level_die

The name "comp_unit_die" is a bit misleading, because it can also
represent a type unit (DW_TAG_type_unit).  I think that "top_level_die"
is clear.

Change-Id: Ibaac99897f0ac7499f0f82caeed3385e1e6ee870
Approved-By: Tom Tromey <tom@tromey.com>
gdb/dwarf2/cooked-indexer.c
gdb/dwarf2/read.c
gdb/dwarf2/read.h