gdb/dwarf2: split .gdb_index reading code to own file
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 14 Feb 2023 19:55:57 +0000 (14:55 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 15 Feb 2023 20:12:01 +0000 (15:12 -0500)
commitbe932484aacb329459f96dd1811fb33d935af29f
tree7751af1c108e4caa362f79f8e7f51b22f7f02c9c
parent6acd95be6a5c12006466e4d545ea5816f65004ad
gdb/dwarf2: split .gdb_index reading code to own file

Move everything related to reading .gdb_index from read.c to
read-gdb-index.c.  The only entry point exposed by read-gdb-index.{c,h}
is dwarf2_read_gdb_index.

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