aboutsummaryrefslogtreecommitdiff
path: root/gdb/symmisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/symmisc.c')
-rw-r--r--gdb/symmisc.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/gdb/symmisc.c b/gdb/symmisc.c
index 5120162..117a22b 100644
--- a/gdb/symmisc.c
+++ b/gdb/symmisc.c
@@ -79,18 +79,6 @@ struct print_symbol_args
static int print_symbol (void *);
-/* Free all the storage associated with the struct symtab <- S. */
-
-void
-free_symtab (struct symtab *s)
-{
- /* Free source-related stuff. */
- if (s->line_charpos != NULL)
- xfree (s->line_charpos);
- if (s->fullname != NULL)
- xfree (s->fullname);
- xfree (s);
-}
void
print_symbol_bcache_statistics (void)