From eedc19af0387f745b1eabf5d0dc38eee8edc5d19 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 24 Jun 2004 20:42:42 +0000 Subject: 2004-06-24 Andrew Cagney * 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. --- gdb/dwarfread.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'gdb/dwarfread.c') 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; -- cgit v1.1