diff options
Diffstat (limited to 'gdb/mn10300-tdep.c')
-rw-r--r-- | gdb/mn10300-tdep.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gdb/mn10300-tdep.c b/gdb/mn10300-tdep.c index ac5098a4647..d4edd2823ca 100644 --- a/gdb/mn10300-tdep.c +++ b/gdb/mn10300-tdep.c @@ -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; |