2004-04-05 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Tue, 6 Apr 2004 02:53:41 +0000 (02:53 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 6 Apr 2004 02:53:41 +0000 (02:53 +0000)
* hppa-tdep.c (hppa_frame_cache): Pass the frame's func to
skip_prologue_using_sal.

gdb/ChangeLog
gdb/hppa-tdep.c

index 089ea3f08cec32511f217fc58ce6ac2549955263..d6b2ad7060349971d10edb3d201b4f514b074e3f 100644 (file)
@@ -1,3 +1,8 @@
+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.
index b238d37b09414ad93ef181c82f883ad4d2685a86..ca6331d7c48abc83856f9386aa02279006e61ba3 100644 (file)
@@ -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;
This page took 0.030282 seconds and 4 git commands to generate.