* dwarf2read.c (dwarf2_cu): Add ranges_base.
authorDoug Evans <dje@google.com>
Thu, 28 Jun 2012 01:10:38 +0000 (01:10 +0000)
committerDoug Evans <dje@google.com>
Thu, 28 Jun 2012 01:10:38 +0000 (01:10 +0000)
commit2e3cf129e630bec707b68e85b388b056ba3bbda2
treea930a9ceb9ea41941530aa5d08d70a4de497d54e
parentd26281a3fcd12b3d1c21423c664f53f2f36f8a14
* dwarf2read.c (dwarf2_cu): Add ranges_base.
Delete have_addr_base, unused.  All uses updated.
(init_cutu_and_read_dies): Process DW_AT_GNU_ranges_base.
(dwarf2_get_pc_bounds): Add ranges_base.
(dwarf2_record_block_ranges): Ditto.

testsuite/
* gdb.dwarf2/fission-base.c: New file.
* gdb.dwarf2/fission-base.S: New file.
* gdb.dwarf2/fission-base.exp: New file.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/fission-base.S [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/fission-base.c [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/fission-base.exp [new file with mode: 0644]