From 73c1e0a129954a6abedb1071816c769eae068ae9 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 7 May 2004 14:29:34 +0000 Subject: 2004-05-07 Andrew Cagney * objfiles.h (struct entry_info): Delete unused fields deprecated_entry_file_lowpc and deprecated_entry_file_highpc. * objfiles.c (init_entry_point_info, objfile_relocate): Update. * mipsread.c (mipscoff_symfile_read): Update. * mdebugread.c (parse_partial_symbols): Update. * dwarfread.c (read_file_scope): Update. * dwarf2read.c (read_file_scope): Update. * dbxread.c (read_dbx_symtab, read_dbx_symtab): Update. * coffread.c (complete_symtab): Update. --- gdb/mipsread.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'gdb/mipsread.c') diff --git a/gdb/mipsread.c b/gdb/mipsread.c index d0d0b9d..80d9375 100644 --- a/gdb/mipsread.c +++ b/gdb/mipsread.c @@ -102,25 +102,6 @@ mipscoff_symfile_read (struct objfile *objfile, int mainline) minimal symbols for this objfile. */ install_minimal_symbols (objfile); - - /* If the entry_file bounds are still unknown after processing the - partial symbols, then try to set them from the minimal symbols - surrounding the entry_point. */ - - if (mainline - && objfile->ei.entry_point != INVALID_ENTRY_POINT - && objfile->ei.deprecated_entry_file_lowpc == INVALID_ENTRY_LOWPC) - { - struct minimal_symbol *m; - - m = lookup_minimal_symbol_by_pc (objfile->ei.entry_point); - if (m && DEPRECATED_SYMBOL_NAME (m + 1)) - { - objfile->ei.deprecated_entry_file_lowpc = SYMBOL_VALUE_ADDRESS (m); - objfile->ei.deprecated_entry_file_highpc = SYMBOL_VALUE_ADDRESS (m + 1); - } - } - do_cleanups (back_to); } -- cgit v1.1