aboutsummaryrefslogtreecommitdiff
path: root/gdb/coffread.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2010-01-19 09:47:47 +0000
committerJoel Brobecker <brobecker@gnat.com>2010-01-19 09:47:47 +0000
commitb74845da582460c3fb05bef68c0c1a1ea38c2e7d (patch)
tree5e125c4a0318a0bcd0b303cc6df8c6f9bf36ad80 /gdb/coffread.c
parent65c0609283d2b4eb4da829c7107da9e6d8d68654 (diff)
downloadgdb-b74845da582460c3fb05bef68c0c1a1ea38c2e7d.zip
gdb-b74845da582460c3fb05bef68c0c1a1ea38c2e7d.tar.gz
gdb-b74845da582460c3fb05bef68c0c1a1ea38c2e7d.tar.bz2
Delete free_named_symtabs and associated cleanup.
* symfile.h (free_named_symtabs): Delete declaration. * symfile.c: Remove some commented out code (clear_symtab_users_once). (cashier_psymtab): Comment function out. Delete declaration. (free_named_symtabs): Delete. * coffread.c (coff_end_symtab): Remove call to free_named_symtabs. * dbxread.c (end_psymtab): Likewise. * dwarf2read.c (process_psymtab_comp_unit): Ditto. * exec.c (exec_close_1): Ditto. * xcoffread.c (xcoff_end_psymtab): Likewise.
Diffstat (limited to 'gdb/coffread.c')
-rw-r--r--gdb/coffread.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/coffread.c b/gdb/coffread.c
index eca6618..8e5dca9 100644
--- a/gdb/coffread.c
+++ b/gdb/coffread.c
@@ -402,9 +402,6 @@ coff_end_symtab (struct objfile *objfile)
symtab = end_symtab (current_source_end_addr, objfile, SECT_OFF_TEXT (objfile));
- if (symtab != NULL)
- free_named_symtabs (symtab->filename);
-
/* Reinitialize for beginning of new file. */
last_source_file = NULL;
}