diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-06-24 20:42:42 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-06-24 20:42:42 +0000 |
commit | 6280533506016d1673b582c5f6a49a438f7ace39 (patch) | |
tree | 38527c06119423d2aff4e3c684faceb29fc51710 /gdb/dwarf2read.c | |
parent | 1ddfa3e608ab802808fc508bab3d71ac27dd2c6c (diff) | |
download | gdb-6280533506016d1673b582c5f6a49a438f7ace39.tar.gz |
2004-06-24 Andrew Cagney <cagney@gnu.org>
* objfiles.h (struct entry_info): Delete entry_func_lowpc and
entry_func_highpc fields.
* objfiles.c (init_entry_point_info): Do not clear
entry_func_lowpc and entry_func_highpc.
(objfile_relocate): Do not relocate entry_func_lowpc and
entry_func_highpc.
* dwarfread.c (read_func_scope): Do not set entry_func_lowpc and
entry_func_highpc.
* dwarf2read.c (read_func_scope): Do not set entry_func_lowpc and
entry_func_highpc.
* blockframe.c (legacy_frame_chain_valid): Replace tests against
entry_func_lowpc and entry_func_highpc with call to
inside_entry_func.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index b07d07c9baa..c1f6c654f33 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -2504,13 +2504,6 @@ read_func_scope (struct die_info *die, struct dwarf2_cu *cu) /* Record the function range for dwarf_decode_lines. */ add_to_cu_func_list (name, lowpc, highpc, cu); - if (objfile->ei.entry_point >= lowpc && - objfile->ei.entry_point < highpc) - { - objfile->ei.entry_func_lowpc = lowpc; - objfile->ei.entry_func_highpc = highpc; - } - new = push_context (0, lowpc); new->name = new_symbol (die, die->type, cu); |