OSDN Git Service

* dwarf2read.c (struct dwarf2_cu): Remove ranges_offset and
authordrow <drow>
Fri, 6 Nov 2009 08:18:00 +0000 (08:18 +0000)
committerdrow <drow>
Fri, 6 Nov 2009 08:18:00 +0000 (08:18 +0000)
commit6f87772b0f70bbf44a2b229bab46c7a8fff4d3b3
tree9c144a0471a4a09b115f3f73fbc90349a546a074
parent9d640c026b1df4acc717817f3170f76de58ea04d
* dwarf2read.c (struct dwarf2_cu): Remove ranges_offset and
has_ranges_offset.
(struct partial_die_info): Remove language, has_stmt_list, dirname,
and line_offset.
(dwarf2_build_include_psymtabs): Take a die_info.  Handle a missing
line table.
(dwarf2_get_pc_bounds): Take PST argument.  Pass it
to dwarf2_ranges_read.  Update all callers.
(init_cu_die_reader): Move earlier.
(dwarf2_find_base_address): New function.
(process_psymtab_comp_unit): Rewrite to use a full DIE for the
compilation unit.  Use dwarf2_get_pc_bounds and
dwarf2_find_base_address.
(load_comp_unit): Rewrite to use a full DIE for the compilation unit.
(process_full_comp_unit): Use dwarf2_find_base_address.
(read_partial_die): Remove support for attributes only used
in the compilation unit DIE.
* symfile.c (allocate_psymtab): Make FILENAME const.
(start_psymtab_common): Likewise.
* symfile.h (allocate_psymtab, start_psymtab_common): Update
prototypes.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/symfile.c
gdb/symfile.h