diff options
author | Joel Brobecker <brobecker@gnat.com> | 2010-01-19 09:47:47 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2010-01-19 09:47:47 +0000 |
commit | b74845da582460c3fb05bef68c0c1a1ea38c2e7d (patch) | |
tree | 5e125c4a0318a0bcd0b303cc6df8c6f9bf36ad80 /gdb/xcoffread.c | |
parent | 65c0609283d2b4eb4da829c7107da9e6d8d68654 (diff) | |
download | binutils-b74845da582460c3fb05bef68c0c1a1ea38c2e7d.zip binutils-b74845da582460c3fb05bef68c0c1a1ea38c2e7d.tar.gz binutils-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/xcoffread.c')
-rw-r--r-- | gdb/xcoffread.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index 6301b61..25cc2d9 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -2048,11 +2048,6 @@ xcoff_end_psymtab (struct partial_symtab *pst, char **include_list, 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 |