mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
2012-05-18 Sergio Durigan Junior <sergiodj@redhat.com>
* ada-lang.c: * ada-tasks.c: * ada-varobj.c: * amd64-darwin-tdep.c: * arm-symbian-tdep.c: * arm-tdep.c: * avr-tdep.c: * ax-gdb.c: * bfin-linux-tdep.c: * breakpoint.c: * c-valprint.c: * cli/cli-cmds.c: * coffread.c: * cp-support.c: * cris-tdep.c: * dwarf2-frame-tailcall.c: * dwarf2-frame.c: * dwarf2expr.c: * dwarf2loc.c: * dwarf2read.c: * elfread.c: * eval.c: * expprint.c: * f-valprint.c: * frv-tdep.c: * h8300-tdep.c: * hppa-hpux-tdep.c: * hppa-tdep.c: * hppanbsd-tdep.c: * i386-nto-tdep.c: * i386-tdep.c: * i387-tdep.c: * ia64-tdep.c: * jit.c: * linespec.c: * linux-tdep.c: * lm32-tdep.c: * m2-valprint.c: * m32c-tdep.c: * m32r-rom.c: * m32r-tdep.c: * m68k-tdep.c: * m68klinux-tdep.c: * mi/mi-main.c: * microblaze-tdep.c: * mips-linux-tdep.c: * mips-tdep.c: * mn10300-tdep.c: * p-valprint.c: * parse.c: * ppc-linux-tdep.c: * ppc-sysv-tdep.c: * printcmd.c: * python/py-finishbreakpoint.c: * python/py-inferior.c: * python/py-infthread.c: * python/py-type.c: * python/python.c: * remote-fileio.c: * remote-m32r-sdi.c: * remote-mips.c: * reverse.c: * rl78-tdep.c: * rs6000-aix-tdep.c: * rs6000-tdep.c: * s390-tdep.c: * score-tdep.c: * sh64-tdep.c: * skip.c: * solib-darwin.c: * solib-dsbt.c: * solib-frv.c: * sparc-tdep.c: * spu-multiarch.c: * spu-tdep.c: * stack.c: * symfile.c: * symtab.c: * tic6x-tdep.c: * tracepoint.c: * v850-tdep.c: * valarith.c: * valprint.c: * value.c: * xcoffread.c: * xtensa-tdep.c: * ada-lang.c: * ada-tasks.c: * ada-varobj.c: * amd64-darwin-tdep.c: * arm-symbian-tdep.c: * arm-tdep.c: Delete unused variables.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user