aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-04-06 02:53:41 +0000
committerAndrew Cagney <cagney@redhat.com>2004-04-06 02:53:41 +0000
commit3a515653dc9ceac100caad236d95aefd6ac2a2b4 (patch)
treee7572ea2ca6cbba18be0f57e75fb4896359a307b
parentc1730d024eb5b252552c8c31b6635b7351b1fc6f (diff)
downloadgdb-3a515653dc9ceac100caad236d95aefd6ac2a2b4.zip
gdb-3a515653dc9ceac100caad236d95aefd6ac2a2b4.tar.gz
gdb-3a515653dc9ceac100caad236d95aefd6ac2a2b4.tar.bz2
2004-04-05 Andrew Cagney <cagney@redhat.com>
* hppa-tdep.c (hppa_frame_cache): Pass the frame's func to skip_prologue_using_sal.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/hppa-tdep.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 089ea3f..d6b2ad7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2004-04-05 Andrew Cagney <cagney@redhat.com>
+ * hppa-tdep.c (hppa_frame_cache): Pass the frame's func to
+ skip_prologue_using_sal.
+
+2004-04-05 Andrew Cagney <cagney@redhat.com>
+
* config/i386/tm-i386.h: Delete file.
* config/i386/tm-vxworks.h: Update copyright, do not include
"tm-i386.h".
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c
index b238d37..ca6331d 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;