From 3a515653dc9ceac100caad236d95aefd6ac2a2b4 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 6 Apr 2004 02:53:41 +0000 Subject: [PATCH] 2004-04-05 Andrew Cagney * hppa-tdep.c (hppa_frame_cache): Pass the frame's func to skip_prologue_using_sal. --- gdb/ChangeLog | 5 +++++ gdb/hppa-tdep.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 089ea3f08ce..d6b2ad70603 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2004-04-05 Andrew Cagney + + * hppa-tdep.c (hppa_frame_cache): Pass the frame's func to + skip_prologue_using_sal. + 2004-04-05 Andrew Cagney * config/i386/tm-i386.h: Delete file. diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index b238d37b094..ca6331d7c48 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -2234,10 +2234,11 @@ hppa_frame_cache (struct frame_info *next_frame, void **this_cache) { int final_iteration = 0; CORE_ADDR pc; - CORE_ADDR end_pc = skip_prologue_using_sal (pc); + CORE_ADDR end_pc; int looking_for_sp = u->Save_SP; int looking_for_rp = u->Save_RP; int fp_loc = -1; + end_pc = skip_prologue_using_sal (frame_func_unwind (next_frame)); if (end_pc == 0) end_pc = frame_pc_unwind (next_frame); frame_size = 0; -- 2.30.2