diff options
author | Daniel Jacobowitz <drow@false.org> | 2009-11-05 23:18:01 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2009-11-05 23:18:01 +0000 |
commit | d85a05f07f9f01c6b7e0e84491ca7972a621b85b (patch) | |
tree | 9d66ab1148840046b441a36e086e9f1495e06206 /gdb/symfile.h | |
parent | 58d79fab3021b4a4478aaec7d257e38a9b313854 (diff) | |
download | gdb-d85a05f07f9f01c6b7e0e84491ca7972a621b85b.zip gdb-d85a05f07f9f01c6b7e0e84491ca7972a621b85b.tar.gz gdb-d85a05f07f9f01c6b7e0e84491ca7972a621b85b.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/symfile.h')
-rw-r--r-- | gdb/symfile.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h index 8c9249c..c407315 100644 --- a/gdb/symfile.h +++ b/gdb/symfile.h @@ -266,7 +266,7 @@ extern void free_section_addr_info (struct section_addr_info *); extern struct partial_symtab *start_psymtab_common (struct objfile *, struct section_offsets *, - char *, CORE_ADDR, + const char *, CORE_ADDR, struct partial_symbol **, struct partial_symbol **); @@ -309,7 +309,8 @@ extern int auto_solib_limit; extern void set_initial_language (void); -extern struct partial_symtab *allocate_psymtab (char *, struct objfile *); +extern struct partial_symtab *allocate_psymtab (const char *, + struct objfile *); extern void discard_psymtab (struct partial_symtab *); |