gdb/dwarf2: split .debug_names reading code to own file
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 14 Feb 2023 19:55:58 +0000 (14:55 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 15 Feb 2023 20:12:06 +0000 (15:12 -0500)
commit2ffd1d6e42e76359eb96c4ae36078ef670c3fbc8
tree7b6d3f3d8ff4ef7395b6c400978a9d83fe7a0c54
parentbe932484aacb329459f96dd1811fb33d935af29f
gdb/dwarf2: split .debug_names reading code to own file

Move everything related to reading .debug_names from read.c to
read-debug-names.c.  The only entry point exposed by
read-debug-names.{c,h} is dwarf2_read_debug_names.

Change-Id: I18b23f3c7a61b14abc3a46e4bf559bc2d078e8bc
Approved-By: Tom Tromey <tom@tromey.com>
gdb/Makefile.in
gdb/dwarf2/read-debug-names.c [new file with mode: 0644]
gdb/dwarf2/read-debug-names.h [new file with mode: 0644]
gdb/dwarf2/read.c