diff options
Diffstat (limited to 'gdb/mn10300-tdep.c')
-rw-r--r-- | gdb/mn10300-tdep.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/mn10300-tdep.c b/gdb/mn10300-tdep.c index 1921e4b..e1f8617 100644 --- a/gdb/mn10300-tdep.c +++ b/gdb/mn10300-tdep.c @@ -154,8 +154,10 @@ analyze_dummy_frame (CORE_ADDR pc, CORE_ADDR frame) if (dummy == NULL) { struct frame_extra_info *extra_info; + CORE_ADDR *saved_regs; dummy = deprecated_frame_xmalloc (); - dummy->saved_regs = xmalloc (SIZEOF_FRAME_SAVED_REGS); + saved_regs = xmalloc (SIZEOF_FRAME_SAVED_REGS); + deprecated_set_frame_saved_regs (dummy, saved_regs); extra_info = XMALLOC (struct frame_extra_info); deprecated_set_frame_extra_info_hack (dummy, extra_info); } |