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/exec.c | |
parent | 65c0609283d2b4eb4da829c7107da9e6d8d68654 (diff) | |
download | gdb-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/exec.c')
-rw-r--r-- | gdb/exec.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -145,12 +145,6 @@ exec_close_1 (int quitting) warning (_("cannot close \"%s\": %s"), vp->name, bfd_errmsg (bfd_get_error ())); - /* FIXME: This routine is #if 0'd in symfile.c. What should we - be doing here? Should we just free everything in - vp->objfile->symtabs? Should free_objfile do that? - FIXME-as-well: free_objfile already free'd vp->name, so it isn't - valid here. */ - free_named_symtabs (vp->name); xfree (vp); } |