diff options
Diffstat (limited to 'gdb/xstormy16-tdep.c')
-rw-r--r-- | gdb/xstormy16-tdep.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/xstormy16-tdep.c b/gdb/xstormy16-tdep.c index aaf5ae2..664de22 100644 --- a/gdb/xstormy16-tdep.c +++ b/gdb/xstormy16-tdep.c @@ -781,8 +781,7 @@ xstormy16_init_extra_frame_info (int fromleaf, struct frame_info *fi) { if (!fi->extra_info) { - 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)); fi->extra_info->framesize = 0; fi->extra_info->frameless_p = 1; /* Default frameless, detect framed */ |