aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarfread.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-06-24 20:42:42 +0000
committerAndrew Cagney <cagney@redhat.com>2004-06-24 20:42:42 +0000
commiteedc19af0387f745b1eabf5d0dc38eee8edc5d19 (patch)
treeed2aa474026543734f2896d2a204f957cbbf1122 /gdb/dwarfread.c
parentd47079be51771f29a4815f46d9a8a3f76ee049f9 (diff)
downloadfsf-binutils-gdb-eedc19af0387f745b1eabf5d0dc38eee8edc5d19.zip
fsf-binutils-gdb-eedc19af0387f745b1eabf5d0dc38eee8edc5d19.tar.gz
fsf-binutils-gdb-eedc19af0387f745b1eabf5d0dc38eee8edc5d19.tar.bz2
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/dwarfread.c')
-rw-r--r--gdb/dwarfread.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/dwarfread.c b/gdb/dwarfread.c
index b9fe7d7..cb31543 100644
--- a/gdb/dwarfread.c
+++ b/gdb/dwarfread.c
@@ -1792,12 +1792,6 @@ read_func_scope (struct dieinfo *dip, char *thisdie, char *enddie,
return;
}
- if (objfile->ei.entry_point >= dip->at_low_pc &&
- objfile->ei.entry_point < dip->at_high_pc)
- {
- objfile->ei.entry_func_lowpc = dip->at_low_pc;
- objfile->ei.entry_func_highpc = dip->at_high_pc;
- }
new = push_context (0, dip->at_low_pc);
new->name = new_symbol (dip, objfile);
list_in_scope = &local_symbols;