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/objfiles.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/objfiles.c')
-rw-r--r-- | gdb/objfiles.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c index 6179077..a40721e 100644 --- a/gdb/objfiles.c +++ b/gdb/objfiles.c @@ -250,8 +250,6 @@ init_entry_point_info (struct objfile *objfile) /* Examination of non-executable.o files. Short-circuit this stuff. */ objfile->ei.entry_point = INVALID_ENTRY_POINT; } - objfile->ei.deprecated_entry_file_lowpc = INVALID_ENTRY_LOWPC; - objfile->ei.deprecated_entry_file_highpc = INVALID_ENTRY_HIGHPC; objfile->ei.entry_func_lowpc = INVALID_ENTRY_LOWPC; objfile->ei.entry_func_highpc = INVALID_ENTRY_HIGHPC; objfile->ei.main_func_lowpc = INVALID_ENTRY_LOWPC; @@ -657,12 +655,6 @@ objfile_relocate (struct objfile *objfile, struct section_offsets *new_offsets) objfile->ei.entry_func_highpc += ANOFFSET (delta, SECT_OFF_TEXT (objfile)); } - if (objfile->ei.deprecated_entry_file_lowpc != INVALID_ENTRY_LOWPC) - { - objfile->ei.deprecated_entry_file_lowpc += ANOFFSET (delta, SECT_OFF_TEXT (objfile)); - objfile->ei.deprecated_entry_file_highpc += ANOFFSET (delta, SECT_OFF_TEXT (objfile)); - } - if (objfile->ei.main_func_lowpc != INVALID_ENTRY_LOWPC) { objfile->ei.main_func_lowpc += ANOFFSET (delta, SECT_OFF_TEXT (objfile)); |