summaryrefslogtreecommitdiff
path: root/gdb/mipsread.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-05-07 14:29:34 +0000
committerAndrew Cagney <cagney@redhat.com>2004-05-07 14:29:34 +0000
commit73c1e0a129954a6abedb1071816c769eae068ae9 (patch)
tree69c235d24a46c2d9891716cad8e31e3b1b684b63 /gdb/mipsread.c
parent1d3056ac0dcfc402d7b5c3887f9598ea4aca85a4 (diff)
2004-05-07 Andrew Cagney <cagney@redhat.com>
* 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.
Diffstat (limited to 'gdb/mipsread.c')
-rw-r--r--gdb/mipsread.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/gdb/mipsread.c b/gdb/mipsread.c
index d0d0b9d699..80d9375f55 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);
}