Rename dwarf2/comp-unit.h
authorTom Tromey <tom@tromey.com>
Mon, 17 May 2021 20:16:06 +0000 (14:16 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 17 May 2021 20:16:07 +0000 (14:16 -0600)
commitcd53fa40d480468bdcfc2992cf9753fb59bc7a23
treebb1e16517c217f9815b833a9d1cfe6c3fb902081
parent347212b81930f9afb9e2885656f897cf3821881c
Rename dwarf2/comp-unit.h

Simon pointed out that dwarf2/cu.h and dwarf2/comp-unit.h seemingly
mean the same thing.  He suggested renaming the latter to
comp-unit-head.h, which is what this patch does.

gdb/ChangeLog
2021-05-17  Tom Tromey  <tom@tromey.com>

* dwarf2/read.h: Update include.
* dwarf2/read.c: Update include.
* dwarf2/line-header.c: Update include.
* dwarf2/cu.h: Update include.
* dwarf2/comp-unit-head.h: Rename from comp-unit.h.
* dwarf2/comp-unit-head.c: Rename from comp-unit.c.
* Makefile.in (COMMON_SFILES): Update.
gdb/ChangeLog
gdb/Makefile.in
gdb/dwarf2/comp-unit-head.c [new file with mode: 0644]
gdb/dwarf2/comp-unit-head.h [new file with mode: 0644]
gdb/dwarf2/comp-unit.c [deleted file]
gdb/dwarf2/comp-unit.h [deleted file]
gdb/dwarf2/cu.h
gdb/dwarf2/line-header.c
gdb/dwarf2/read.c
gdb/dwarf2/read.h