aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-01-30 01:51:48 +0000
committerDaniel Jacobowitz <drow@false.org>2003-01-30 01:51:48 +0000
commitaf34e669eb8319cdffb3b1e0a67d164d418b3bf5 (patch)
tree6466910660fe273ee9803108c0fbf317bdefe779 /gdb/config
parentc4c31f17e89fa407e9477e00bd4a6f3d7e034f4d (diff)
downloadgdb-af34e669eb8319cdffb3b1e0a67d164d418b3bf5.zip
gdb-af34e669eb8319cdffb3b1e0a67d164d418b3bf5.tar.gz
gdb-af34e669eb8319cdffb3b1e0a67d164d418b3bf5.tar.bz2
Fix PR gdb/961.
* dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New variables. (RANGES_SECTION): New. (dwarf_ranges_buffer): New variable. (struct comp_unit_head): Add member "die". (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size. (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New. (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size. (dwarf2_locate_sections): Likewise. (dwarf2_build_psymtabs): Read .debug_ranges. (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out. (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die. (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers. Look for DW_AT_ranges and return the bounding box.
Diffstat (limited to 'gdb/config')
0 files changed, 0 insertions, 0 deletions