aboutsummaryrefslogtreecommitdiff
path: root/gdb/psymtab.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/psymtab.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/psymtab.c')
-rw-r--r--gdb/psymtab.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/psymtab.c b/gdb/psymtab.c
index 4def4a7..0645dd6 100644
--- a/gdb/psymtab.c
+++ b/gdb/psymtab.c
@@ -427,7 +427,6 @@ struct partial_symbol *
lookup_partial_symbol (struct partial_symtab *pst, const char *name,
int global, domain_enum domain)
{
- struct partial_symbol *temp;
struct partial_symbol **start, **psym;
struct partial_symbol **top, **real_top, **bottom, **center;
int length = (global ? pst->n_global_syms : pst->n_static_syms);
@@ -563,7 +562,6 @@ relocate_psymtabs (struct objfile *objfile,
static struct symtab *
find_last_source_symtab_from_partial (struct objfile *ofp)
{
- struct symtab *result;
struct partial_symtab *ps;
struct partial_symtab *cs_pst = 0;