From 9e815ec29985f1ed98d69be1bbf9101f900d2a29 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 31 Oct 2003 23:47:17 +0000 Subject: [PATCH] 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. --- gdb/ChangeLog | 10 ++++++++++ gdb/alpha-tdep.c | 5 ----- gdb/arm-tdep.c | 2 +- gdb/avr-tdep.c | 5 ----- gdb/d10v-tdep.c | 5 ----- gdb/m32r-tdep.c | 5 ----- gdb/m68hc11-tdep.c | 5 ----- 7 files changed, 11 insertions(+), 26 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a53260a..3ffe724 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 ddf2744..325cf19 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 12e4371..6faca9f 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 e9c5d42..9ef84c0 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 6fde9e9..db30460 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 15529b5..b2bc71f 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 ad68b60..e821722 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". */ -- 2.7.4