From 253270e09cc521abaa03fc65fbdf5c5294ae5743 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/dbxread.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'gdb/dbxread.c') diff --git a/gdb/dbxread.c b/gdb/dbxread.c index efbbf2ac695..e33a7e43c5b 100644 --- a/gdb/dbxread.c +++ b/gdb/dbxread.c @@ -1358,12 +1358,6 @@ read_dbx_symtab (struct objfile *objfile) || (namestring[(nsl = strlen (namestring)) - 1] == 'o' && namestring[nsl - 2] == '.')) { - if (objfile->ei.entry_point < nlist.n_value && - objfile->ei.entry_point >= last_o_file_start) - { - objfile->ei.deprecated_entry_file_lowpc = last_o_file_start; - objfile->ei.deprecated_entry_file_highpc = nlist.n_value; - } if (past_first_source_file && pst /* The gould NP1 uses low values for .o and -l symbols which are not the address. */ @@ -2099,16 +2093,6 @@ read_dbx_symtab (struct objfile *objfile) } /* If there's stuff to be cleaned up, clean it up. */ - if (DBX_SYMCOUNT (objfile) > 0 /* We have some syms */ - /*FIXME, does this have a bug at start address 0? */ - && last_o_file_start - && objfile->ei.entry_point < nlist.n_value - && objfile->ei.entry_point >= last_o_file_start) - { - objfile->ei.deprecated_entry_file_lowpc = last_o_file_start; - objfile->ei.deprecated_entry_file_highpc = nlist.n_value; - } - if (pst) { /* Don't set pst->texthigh lower than it already is. */ -- cgit v1.2.1