* dwarf2-frame.c (dwarf2_frame_cache, dwarf2_frame_this_id)
[deliverable/binutils-gdb.git] / gdb / mn10300-tdep.c
index ac5098a46472a5ba8fcc4b25afa0bda54699d2b8..d4edd2823ca3796e954f4f68a47c8efb9bf6a01d 100644 (file)
@@ -850,9 +850,12 @@ mn10300_frame_unwind_cache (struct frame_info *next_frame,
                       frame_id_build (trad_frame_get_this_base (cache), 
                                       start));
   else
-    trad_frame_set_id (cache, 
-                      frame_id_build (trad_frame_get_this_base (cache), 
-                                      frame_func_unwind (next_frame)));
+    {
+      start = frame_func_unwind (next_frame, NORMAL_FRAME);
+      trad_frame_set_id (cache,
+                        frame_id_build (trad_frame_get_this_base (cache),
+                                        start));
+    }
 
   (*this_prologue_cache) = cache;
   return cache;
This page took 0.025641 seconds and 4 git commands to generate.