aboutsummaryrefslogtreecommitdiff
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/dbxread.c
parentComment out unused function. (diff)
downloadbinutils-gdb-b74845da582460c3fb05bef68c0c1a1ea38c2e7d.tar.gz
binutils-gdb-b74845da582460c3fb05bef68c0c1a1ea38c2e7d.tar.bz2
binutils-gdb-b74845da582460c3fb05bef68c0c1a1ea38c2e7d.zip
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/dbxread.c')
-rw-r--r--gdb/dbxread.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c
index 816a355be52..6ef676735e4 100644
--- a/gdb/dbxread.c
+++ b/gdb/dbxread.c
@@ -2360,11 +2360,6 @@ end_psymtab (struct partial_symtab *pst, char **include_list, int num_includes,
sort_pst_symbols (pst);
- /* If there is already a psymtab or symtab for a file of this name, remove it.
- (If there is a symtab, more drastic things also happen.)
- This happens in VxWorks. */
- free_named_symtabs (pst->filename);
-
if (num_includes == 0
&& number_dependencies == 0
&& pst->n_global_syms == 0