Move some code from dwarf2/read.c to die.c
authorTom Tromey <tom@tromey.com>
Fri, 27 Jan 2023 04:13:20 +0000 (21:13 -0700)
committerTom Tromey <tom@tromey.com>
Sun, 12 Feb 2023 20:03:58 +0000 (13:03 -0700)
commitfdc82b33c455b049d4739ef0959f458263197a33
tree8a3d71e0afeeb7d88cb3a858eb4f925d07224e84
parent8282ad74c302a8e0db7a588e500ae117a1df68c5
Move some code from dwarf2/read.c to die.c

This patch introduces a new file, dwarf2/die.c, and moves some
DIE-related code out of dwarf2/read.c and into this new file.  This is
just a small part of the long-term project to split up read.c.
(According to 'wc', dwarf2/read.c is the largest file in gdb by around
8000 LOC.)

Regression tested on x86-64 Fedora 36.
gdb/Makefile.in
gdb/dwarf2/die.c [new file with mode: 0644]
gdb/dwarf2/die.h
gdb/dwarf2/read.c
gdb/gdb-gdb.gdb.in