summaryrefslogtreecommitdiff
path: root/gdb/dbxread.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
commit253270e09cc521abaa03fc65fbdf5c5294ae5743 (patch)
treecbee22bb056390f2b2c4a2d37981a3da6940cd37 /gdb/dbxread.c
parent37619838110f0c05a14f55ca930356d16ad83c78 (diff)
downloadgdb-253270e09cc521abaa03fc65fbdf5c5294ae5743.tar.gz
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/dbxread.c')
-rw-r--r--gdb/dbxread.c16
1 files changed, 0 insertions, 16 deletions
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. */