summaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-12-12 16:22:32 +0000
committerTom Tromey <tromey@redhat.com>2012-12-12 16:22:32 +0000
commitbf9634c4b04ae648d4a5c2a02ac053a477e738fd (patch)
treef0cf32f2e886c3f90fd219454f26fb5057c990f4 /gdb/symfile.c
parent833dd807efacd91c7f6a2938e655e341d7cd06cf (diff)
downloadgdb-bf9634c4b04ae648d4a5c2a02ac053a477e738fd.tar.gz
* coffread.c (coff_objfile_data_key): New global.
(coff_symfile_init): Use set_objfile_data. (coff_symfile_read): Use objfile_data. (coff_symfile_finish): Don't free deprecated_sym_private. (coff_free_info): New function. (_initialize_coffread): Initialize coff_objfile_data_key. * mdebugread.c (pending_list): Update comment. * objfiles.h (struct objfile) <deprecated_sym_private>: Remove. * symfile.c (reread_symbols): Don't mention deprecated_sym_private. * xcoffread.c (xcoff_objfile_data_key): New global. (XCOFF_DATA): New macro. (process_linenos, enter_line_range, xcoff_next_symbol_text) (read_xcoff_symtab, coff_getfilename, read_symbol_lineno): Use XCOFF_DATA. (xcoff_new_init) Use set_objfile_data. (xcoff_symfile_finish): Don't free deprecated_sym_private. (init_stringtab, swap_sym, scan_xcoff_symtab) (xcoff_get_toc_offset, xcoff_initial_scan): Use XCOFF_DATA. (xcoff_free_info): New function. (_initialize_xcoffread): Initialize xcoff_objfile_data_key.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r--gdb/symfile.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 9afaf91b60e..6e09cbd1a8e 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -2563,7 +2563,6 @@ reread_symbols (void)
objfile->free_psymtabs = NULL;
objfile->template_symbols = NULL;
objfile->msymbols = NULL;
- objfile->deprecated_sym_private = NULL;
objfile->minimal_symbol_count = 0;
memset (&objfile->msymbol_hash, 0,
sizeof (objfile->msymbol_hash));