]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/dwarf: replace some "compile unit" terminology with "unit"
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 16 Apr 2025 04:09:06 +0000 (00:09 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 29 Apr 2025 19:23:25 +0000 (15:23 -0400)
commit573e600deab699a49659bb80c2f3c3d53bc1b3be
tree8122067917d03dbcc8b8536100c1bc38b7c2a774
parentcc55260231e4302e69796fe56c455ac9a7f24f5d
gdb/dwarf: replace some "compile unit" terminology with "unit"

In DWARF 5 (and even previous versions, with type units), compile units
are just one type of units.  In many places, we still use "compile
units" when in reality it would be better to talk about "units" (unless
we specifically want to talk about compile units).

Rename comp-unit-head.{c.h} to unit-head.{c,h}, and do a big pass of
renames in it to remove the specific mentions of compile units, where in
fact we want to talk about units in general.

Change-Id: Ia06c90ccb25756c366f269a12620f2f7c8378adb
Approved-By: Tom Tromey <tom@tromey.com>
gdb/Makefile.in
gdb/dwarf2/cooked-indexer.c
gdb/dwarf2/cu.h
gdb/dwarf2/line-header.c
gdb/dwarf2/line-header.h
gdb/dwarf2/read.c
gdb/dwarf2/read.h
gdb/dwarf2/unit-head.c [moved from gdb/dwarf2/comp-unit-head.c with 58% similarity]
gdb/dwarf2/unit-head.h [moved from gdb/dwarf2/comp-unit-head.h with 66% similarity]
gdb/testsuite/gdb.dwarf2/dw2-error.exp