Remove dwarf2_cu::base_known
authorTom Tromey <tom@tromey.com>
Thu, 26 Mar 2020 15:28:08 +0000 (09:28 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 26 Mar 2020 15:28:21 +0000 (09:28 -0600)
commit2b24b6e4a6d03efc3e76ce6912394e4a86cc387b
tree1e43c47fc8d544607477008f0b73547b641b0fef
parentc2d50fd0b30f640301c3736038bec82b40a3f0dc
Remove dwarf2_cu::base_known

This removes dwarf2_cu::base_known, changing base_address to be a
gdb::optional.

gdb/ChangeLog
2020-03-26  Tom Tromey  <tom@tromey.com>

* dwarf2/read.c (struct dwarf2_cu) <base_known>: Remove.
<base_address>: Now an optional.
(dwarf2_find_base_address, dwarf2_rnglists_process)
(dwarf2_ranges_process, fill_in_loclist_baton)
(dwarf2_symbol_mark_computed): Update.
gdb/ChangeLog
gdb/dwarf2/read.c