From: Andrew Cagney Date: Fri, 31 Oct 2003 23:47:17 +0000 (+0000) Subject: 2003-10-31 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9e815ec29985f1ed98d69be1bbf9101f900d2a29;p=binutils-gdb.git 2003-10-31 Andrew Cagney * avr-tdep.c (avr_frame_this_id): Do not call deprecated_inside_entry_file. * m68hc11-tdep.c (m68hc11_frame_this_id): Ditto. * m32r-tdep.c (m32r_frame_this_id): Ditto. * d10v-tdep.c (d10v_frame_this_id): Ditto. * arm-tdep.c (arm_prologue_this_id): Ditto. * alpha-tdep.c (alpha_heuristic_frame_this_id): Ditto. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a53260ab0b3..3ffe724f61a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,13 @@ +2003-10-31 Andrew Cagney + + * avr-tdep.c (avr_frame_this_id): Do not call + deprecated_inside_entry_file. + * m68hc11-tdep.c (m68hc11_frame_this_id): Ditto. + * m32r-tdep.c (m32r_frame_this_id): Ditto. + * d10v-tdep.c (d10v_frame_this_id): Ditto. + * arm-tdep.c (arm_prologue_this_id): Ditto. + * alpha-tdep.c (alpha_heuristic_frame_this_id): Ditto. + 2003-10-31 Jim Blandy * elfread.c (elf_symtab_read): Allocate correct number of tail diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c index ddf27448380..325cf19b7d4 100644 --- a/gdb/alpha-tdep.c +++ b/gdb/alpha-tdep.c @@ -1136,11 +1136,6 @@ alpha_heuristic_frame_this_id (struct frame_info *next_frame, struct alpha_heuristic_unwind_cache *info = alpha_heuristic_frame_unwind_cache (next_frame, this_prologue_cache, 0); - /* This is meant to halt the backtrace at "_start". Make sure we - don't halt it at a generic dummy frame. */ - if (deprecated_inside_entry_file (info->start_pc)) - return; - *this_id = frame_id_build (info->vfp, info->start_pc); } diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 12e4371d3b2..6faca9fdb03 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -994,7 +994,7 @@ arm_prologue_this_id (struct frame_info *next_frame, /* This is meant to halt the backtrace at "_start". Make sure we don't halt it at a generic dummy frame. */ - if (func <= LOWEST_PC || deprecated_inside_entry_file (func)) + if (func <= LOWEST_PC) return; /* If we've hit a wall, stop. */ diff --git a/gdb/avr-tdep.c b/gdb/avr-tdep.c index e9c5d428d35..9ef84c0b6f1 100644 --- a/gdb/avr-tdep.c +++ b/gdb/avr-tdep.c @@ -970,11 +970,6 @@ avr_frame_this_id (struct frame_info *next_frame, /* The FUNC is easy. */ func = frame_func_unwind (next_frame); - /* This is meant to halt the backtrace at "_start". Make sure we - don't halt it at a generic dummy frame. */ - if (deprecated_inside_entry_file (func)) - return; - /* Hopefully the prologue analysis either correctly determined the frame's base (which is the SP from the previous frame), or set that base to "NULL". */ diff --git a/gdb/d10v-tdep.c b/gdb/d10v-tdep.c index 6fde9e97bde..db30460f161 100644 --- a/gdb/d10v-tdep.c +++ b/gdb/d10v-tdep.c @@ -1405,11 +1405,6 @@ d10v_frame_this_id (struct frame_info *next_frame, /* The FUNC is easy. */ func = frame_func_unwind (next_frame); - /* This is meant to halt the backtrace at "_start". Make sure we - don't halt it at a generic dummy frame. */ - if (func <= IMEM_START || deprecated_inside_entry_file (func)) - return; - /* Hopefully the prologue analysis either correctly determined the frame's base (which is the SP from the previous frame), or set that base to "NULL". */ diff --git a/gdb/m32r-tdep.c b/gdb/m32r-tdep.c index 15529b5a414..b2bc71f5b97 100644 --- a/gdb/m32r-tdep.c +++ b/gdb/m32r-tdep.c @@ -831,11 +831,6 @@ m32r_frame_this_id (struct frame_info *next_frame, /* The FUNC is easy. */ func = frame_func_unwind (next_frame); - /* This is meant to halt the backtrace at "_start". Make sure we - don't halt it at a generic dummy frame. */ - if (deprecated_inside_entry_file (func)) - return; - /* Check if the stack is empty. */ msym_stack = lookup_minimal_symbol ("_stack", NULL, NULL); if (msym_stack && info->base == SYMBOL_VALUE_ADDRESS (msym_stack)) diff --git a/gdb/m68hc11-tdep.c b/gdb/m68hc11-tdep.c index ad68b6024f5..e8217226929 100644 --- a/gdb/m68hc11-tdep.c +++ b/gdb/m68hc11-tdep.c @@ -894,11 +894,6 @@ m68hc11_frame_this_id (struct frame_info *next_frame, /* The FUNC is easy. */ func = frame_func_unwind (next_frame); - /* This is meant to halt the backtrace at "_start". Make sure we - don't halt it at a generic dummy frame. */ - if (deprecated_inside_entry_file (func)) - return; - /* Hopefully the prologue analysis either correctly determined the frame's base (which is the SP from the previous frame), or set that base to "NULL". */