Move pending addrmap globals to buildsym_compunit
authorTom Tromey <tom@tromey.com>
Mon, 21 May 2018 06:28:56 +0000 (00:28 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 20 Jul 2018 15:42:43 +0000 (09:42 -0600)
commit7ea05a7b634a895128e87c8c71e8e611758cd4bb
treee374aa4681dd6b8b3b536d30205ee19413790380
parent3c65e5b31cb5587773deff979099435b9687a0f4
Move pending addrmap globals to buildsym_compunit

This moves the pending addrmap-related globals into buildsym_compunit.

gdb/ChangeLog
2018-07-20  Tom Tromey  <tom@tromey.com>

* buildsym.c (struct buildsym_compunit) <m_pending_addrmap,
m_pending_addrmap_obstack, m_pending_addrmap_interesting>: New
members.
(pending_addrmap, pending_addrmap_obstack)
(pending_addrmap_interesting): Remove.
(scoped_free_pendings, record_block_range, make_blockvector)
(prepare_for_building, reset_symtab_globals, buildsym_init):
Update.
gdb/ChangeLog
gdb/buildsym.c