diff options
Diffstat (limited to 'gdb/d10v-tdep.c')
-rw-r--r-- | gdb/d10v-tdep.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/d10v-tdep.c b/gdb/d10v-tdep.c index 3707cd0..a745a97 100644 --- a/gdb/d10v-tdep.c +++ b/gdb/d10v-tdep.c @@ -894,8 +894,7 @@ d10v_frame_init_saved_regs (struct frame_info *fi) static void d10v_init_extra_frame_info (int fromleaf, struct frame_info *fi) { - fi->extra_info = (struct frame_extra_info *) - frame_obstack_alloc (sizeof (struct frame_extra_info)); + frame_extra_info_zalloc (fi, sizeof (struct frame_extra_info)); frame_saved_regs_zalloc (fi); fi->extra_info->frameless = 0; |