aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r--gdb/mips-tdep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index 3dac672..267b780 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -2468,8 +2468,7 @@ mips_init_extra_frame_info (int fromleaf, struct frame_info *fci)
mips_extra_func_info_t proc_desc =
fci->next ? cached_proc_desc : find_proc_desc (get_frame_pc (fci), fci->next, 1);
- fci->extra_info = (struct frame_extra_info *)
- frame_obstack_alloc (sizeof (struct frame_extra_info));
+ frame_extra_info_zalloc (fci, sizeof (struct frame_extra_info));
fci->saved_regs = NULL;
fci->extra_info->proc_desc =