diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-05-07 14:29:34 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-05-07 14:29:34 +0000 |
commit | 73c1e0a129954a6abedb1071816c769eae068ae9 (patch) | |
tree | 69c235d24a46c2d9891716cad8e31e3b1b684b63 /gdb/dbxread.c | |
parent | 1d3056ac0dcfc402d7b5c3887f9598ea4aca85a4 (diff) | |
download | gdb-73c1e0a129954a6abedb1071816c769eae068ae9.zip gdb-73c1e0a129954a6abedb1071816c769eae068ae9.tar.gz gdb-73c1e0a129954a6abedb1071816c769eae068ae9.tar.bz2 |
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.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c index efbbf2a..e33a7e4 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. */ |