diff options
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 1514e13..9729173 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -2432,7 +2432,6 @@ dw2_get_file_names_reader (const struct die_reader_specs *reader, struct line_header *lh; struct attribute *attr; int i; - unsigned int bytes_read; char *name, *comp_dir; void **slot; struct quick_file_names *qfn; @@ -4069,7 +4068,6 @@ process_psymtab_comp_unit_reader (const struct die_reader_specs *reader, struct dwarf2_cu *cu = reader->cu; struct objfile *objfile = cu->objfile; struct dwarf2_per_cu_data *per_cu = cu->per_cu; - bfd *abfd = objfile->obfd; struct attribute *attr; CORE_ADDR baseaddr; CORE_ADDR best_lowpc = 0, best_highpc = 0; @@ -5292,7 +5290,6 @@ static void psymtab_to_symtab_1 (struct partial_symtab *pst) { struct dwarf2_per_cu_data *per_cu; - struct cleanup *back_to; int i; if (pst->readin) @@ -5365,7 +5362,6 @@ load_full_comp_unit_reader (const struct die_reader_specs *reader, void *data) { struct dwarf2_cu *cu = reader->cu; - struct attribute *attr; enum language *language_ptr = data; gdb_assert (cu->die_hash == NULL); @@ -6942,7 +6938,6 @@ try_open_dwo_file (const char *file_name) bfd *sym_bfd; int desc; char *absolute_name; - char *name; desc = openp (debug_file_directory, OPF_TRY_CWD_FIRST, file_name, O_RDONLY | O_BINARY, &absolute_name); @@ -6982,7 +6977,6 @@ static bfd * open_dwo_file (const char *dwo_name, const char *comp_dir) { bfd *abfd; - char *path_to_try, *debug_dir; if (IS_ABSOLUTE_PATH (dwo_name)) return try_open_dwo_file (dwo_name); @@ -7122,7 +7116,6 @@ lookup_dwo_type_unit (struct signatured_type *this_tu, { struct objfile *objfile = dwarf2_per_objfile->objfile; struct dwo_file *dwo_file; - struct dwo_unit find_dwo_tu, *dwo_tu; dwo_file = lookup_dwo_file (dwo_name, comp_dir); if (dwo_file == NULL) @@ -7771,7 +7764,6 @@ read_call_site_scope (struct die_info *die, struct dwarf2_cu *cu) child_die && child_die->tag; child_die = sibling_die (child_die)) { - struct dwarf2_locexpr_baton *dlbaton; struct call_site_parameter *parameter; if (child_die->tag != DW_TAG_GNU_call_site_parameter) @@ -15182,7 +15174,6 @@ read_signatured_type_reader (const struct die_reader_specs *reader, void *data) { struct dwarf2_cu *cu = reader->cu; - struct attribute *attr; gdb_assert (cu->die_hash == NULL); cu->die_hash = @@ -17527,8 +17518,6 @@ add_address_entry_worker (void *datap, CORE_ADDR start_addr, void *obj) { struct addrmap_index_data *data = datap; struct partial_symtab *pst = obj; - offset_type cu_index; - void **slot; if (data->previous_valid) add_address_entry (data->objfile, data->addr_obstack, @@ -17737,7 +17726,6 @@ write_psymtabs_to_index (struct objfile *objfile, const char *dir) struct mapped_symtab *symtab; offset_type val, size_of_contents, total_len; struct stat st; - char buf[8]; htab_t psyms_seen; htab_t cu_index_htab; struct psymtab_cu_index_map *psymtab_cu_index_map; |