aboutsummaryrefslogtreecommitdiff
path: root/gdb/symmisc.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-06 01:16:15 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-06 01:16:15 +0000
commit952a6d4151ae37ef4f7121c000cab8fce01577ac (patch)
treeb88d5891544e658309d045c8f72048d7f81d20b0 /gdb/symmisc.c
parentafe38095c3efc0b5713f810c9ad3d23cdfe71ca5 (diff)
downloadgdb-952a6d4151ae37ef4f7121c000cab8fce01577ac.zip
gdb-952a6d4151ae37ef4f7121c000cab8fce01577ac.tar.gz
gdb-952a6d4151ae37ef4f7121c000cab8fce01577ac.tar.bz2
2010-05-05 Michael Snyder <msnyder@vmware.com>
* psymtab.c (lookup_partial_symbol): Delete unused variable. (find_last_source_symtab_from_partial): Delete unused variable. * symfile.c (place_section): Delete unused variable. (default_symfile_offsets): Delete unused variable. (get_debug_link_info): Delete unused variable. (find_separate_debug_file_by_debuglink): Delete unused variable. (add_symbol_file_command): Delete unused variable. (symfile_find_segment_sections): Delete unused variable. * symmisc.c (free_symtab): Delete unused variable. (dump_symtab_1): Delete unused variable. * symtab.c (lookup_symbil_aux_quick): Delete unused variable. (find_pc_sect_symtab): Delete unused variable. (skip_prologue_using_lineinfo): Delete unused variable. (sources_info): Delete unused variable. (completion_list_add_name): Delete unused variable. (expand_line_sal): Delete unused variable.
Diffstat (limited to 'gdb/symmisc.c')
-rw-r--r--gdb/symmisc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/symmisc.c b/gdb/symmisc.c
index 8d3e1a6..6d47de3 100644
--- a/gdb/symmisc.c
+++ b/gdb/symmisc.c
@@ -88,9 +88,6 @@ static int print_symbol (void *);
void
free_symtab (struct symtab *s)
{
- int i, n;
- struct blockvector *bv;
-
switch (s->free_code)
{
case free_nothing:
@@ -322,7 +319,7 @@ dump_symtab_1 (struct objfile *objfile, struct symtab *symtab,
struct gdbarch *gdbarch = get_objfile_arch (objfile);
int i;
struct dict_iterator iter;
- int len, blen;
+ int len;
struct linetable *l;
struct blockvector *bv;
struct symbol *sym;