diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-09-02 03:05:46 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-09-02 03:05:46 +0000 |
commit | 14aaa6abcf59a37a4a1fec0c4d86d61f922d8ffd (patch) | |
tree | 645e4efd732638382d98f147fe46d9b6589aaa1d /gdb/objfiles.c | |
parent | 21bd10f440450cc0067041f600645a155f2ab6dc (diff) | |
download | gdb-14aaa6abcf59a37a4a1fec0c4d86d61f922d8ffd.zip gdb-14aaa6abcf59a37a4a1fec0c4d86d61f922d8ffd.tar.gz gdb-14aaa6abcf59a37a4a1fec0c4d86d61f922d8ffd.tar.bz2 |
2004-09-01 Andrew Cagney <cagney@gnu.org>
* objfiles.h (struct entry_info): Delete fields main_func_lowpc
and main_func_highpc.
(INVALID_ENTRY_LOWPC, INVALID_ENTRY_HIGHPC): Delete macros.
* objfiles.c (init_entry_point_info, objfile_relocate): Update
* nlmread.c (nlm_symfile_read): 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 cc6a1e1..69f61d4 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.main_func_lowpc = INVALID_ENTRY_LOWPC; - objfile->ei.main_func_highpc = INVALID_ENTRY_HIGHPC; } /* Get current entry point address. */ @@ -647,12 +645,6 @@ objfile_relocate (struct objfile *objfile, struct section_offsets *new_offsets) } } - if (objfile->ei.main_func_lowpc != INVALID_ENTRY_LOWPC) - { - objfile->ei.main_func_lowpc += ANOFFSET (delta, SECT_OFF_TEXT (objfile)); - objfile->ei.main_func_highpc += ANOFFSET (delta, SECT_OFF_TEXT (objfile)); - } - /* Relocate breakpoints as necessary, after things are relocated. */ breakpoint_re_set (); } |