Refactor dwarf2_get_pc_bounds
authorTom Tromey <tom@tromey.com>
Sat, 12 Jun 2021 15:01:50 +0000 (09:01 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 12 Apr 2022 15:31:15 +0000 (09:31 -0600)
commit6ee823fc4eae5024d85759bc1cc845058f1265a4
tree4e8e0feb5f7ef2045bedb0e8a5bbf8a31c83184a
parentcffae852e33b3c735cc48a398a15e7236bc39928
Refactor dwarf2_get_pc_bounds

This changes dwarf2_get_pc_bounds so that it does not directly access
a psymtab or psymtabs_addrmap.  Instead, both the addrmap and the
desired payload are passed as parameters.  This makes it suitable to
be used by the new indexer.
gdb/dwarf2/read.c