diff options
-rw-r--r-- | gdb/ChangeLog | 10 | ||||
-rw-r--r-- | gdb/Makefile.in | 2 | ||||
-rw-r--r-- | gdb/dwarf2/comp-unit-head.c (renamed from gdb/dwarf2/comp-unit.c) | 6 | ||||
-rw-r--r-- | gdb/dwarf2/comp-unit-head.h (renamed from gdb/dwarf2/comp-unit.h) | 0 | ||||
-rw-r--r-- | gdb/dwarf2/cu.h | 2 | ||||
-rw-r--r-- | gdb/dwarf2/line-header.c | 2 | ||||
-rw-r--r-- | gdb/dwarf2/read.c | 2 | ||||
-rw-r--r-- | gdb/dwarf2/read.h | 2 |
8 files changed, 18 insertions, 8 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7ca4738..82131c1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,15 @@ 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. + +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 diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 1f37fe4..a9fade8 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -1025,7 +1025,7 @@ COMMON_SFILES = \ dummy-frame.c \ dwarf2/abbrev.c \ dwarf2/attribute.c \ - dwarf2/comp-unit.c \ + dwarf2/comp-unit-head.c \ dwarf2/cu.c \ dwarf2/dwz.c \ dwarf2/expr.c \ diff --git a/gdb/dwarf2/comp-unit.c b/gdb/dwarf2/comp-unit-head.c index e22f2e9..8cc741d 100644 --- a/gdb/dwarf2/comp-unit.c +++ b/gdb/dwarf2/comp-unit-head.c @@ -25,13 +25,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "defs.h" -#include "dwarf2/comp-unit.h" +#include "dwarf2/comp-unit-head.h" #include "dwarf2/leb.h" #include "dwarf2/read.h" #include "dwarf2/section.h" #include "dwarf2/stringify.h" -/* See comp-unit.h. */ +/* See comp-unit-head.h. */ const gdb_byte * read_comp_unit_head (struct comp_unit_head *cu_header, @@ -172,7 +172,7 @@ error_check_comp_unit_head (dwarf2_per_objfile *per_objfile, filename); } -/* See comp-unit.h. */ +/* See comp-unit-head.h. */ const gdb_byte * read_and_check_comp_unit_head (dwarf2_per_objfile *per_objfile, diff --git a/gdb/dwarf2/comp-unit.h b/gdb/dwarf2/comp-unit-head.h index 2d3ff4d..2d3ff4d 100644 --- a/gdb/dwarf2/comp-unit.h +++ b/gdb/dwarf2/comp-unit-head.h diff --git a/gdb/dwarf2/cu.h b/gdb/dwarf2/cu.h index 83a4aac..ff56ec5 100644 --- a/gdb/dwarf2/cu.h +++ b/gdb/dwarf2/cu.h @@ -21,7 +21,7 @@ #define GDB_DWARF2_CU_H #include "buildsym.h" -#include "dwarf2/comp-unit.h" +#include "dwarf2/comp-unit-head.h" #include "gdbsupport/gdb_optional.h" /* Type used for delaying computation of method physnames. diff --git a/gdb/dwarf2/line-header.c b/gdb/dwarf2/line-header.c index 7575297..07a8f5a 100644 --- a/gdb/dwarf2/line-header.c +++ b/gdb/dwarf2/line-header.c @@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "defs.h" -#include "dwarf2/comp-unit.h" +#include "dwarf2/comp-unit-head.h" #include "dwarf2/leb.h" #include "dwarf2/line-header.h" #include "dwarf2/read.h" diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c index 7a321c1..8a57aee 100644 --- a/gdb/dwarf2/read.c +++ b/gdb/dwarf2/read.c @@ -32,7 +32,7 @@ #include "dwarf2/read.h" #include "dwarf2/abbrev.h" #include "dwarf2/attribute.h" -#include "dwarf2/comp-unit.h" +#include "dwarf2/comp-unit-head.h" #include "dwarf2/cu.h" #include "dwarf2/index-cache.h" #include "dwarf2/index-common.h" diff --git a/gdb/dwarf2/read.h b/gdb/dwarf2/read.h index 756d193..6af1f44 100644 --- a/gdb/dwarf2/read.h +++ b/gdb/dwarf2/read.h @@ -22,7 +22,7 @@ #include <queue> #include <unordered_map> -#include "dwarf2/comp-unit.h" +#include "dwarf2/comp-unit-head.h" #include "dwarf2/index-cache.h" #include "dwarf2/section.h" #include "filename-seen-cache.h" |