aboutsummaryrefslogtreecommitdiff
path: root/gdb/alpha-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-01-07 14:51:11 +0000
committerAndrew Cagney <cagney@redhat.com>2003-01-07 14:51:11 +0000
commita00a19e94cc700d757c2fe07ccec78c46a24cd13 (patch)
tree096966c6050c31da165809839fcfbf192b189adb /gdb/alpha-tdep.c
parent3e829b4a2fdbf1db6a233ca1bc4c3617a89bde45 (diff)
downloadgdb-a00a19e94cc700d757c2fe07ccec78c46a24cd13.zip
gdb-a00a19e94cc700d757c2fe07ccec78c46a24cd13.tar.gz
gdb-a00a19e94cc700d757c2fe07ccec78c46a24cd13.tar.bz2
2003-01-07 Andrew Cagney <cagney@redhat.com>
* xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate extra_info using frame_extra_info_zalloc. * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. * sh-tdep.c (sh_init_extra_frame_info): Ditto. (sh64_init_extra_frame_info): Ditto. * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto. * s390-tdep.c (s390_init_extra_frame_info): Ditto. * mips-tdep.c (mips_init_extra_frame_info): Ditto. * mcore-tdep.c (mcore_init_extra_frame_info): Ditto. * frv-tdep.c (frv_init_extra_frame_info): Ditto. * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto. * ia64-tdep.c (ia64_init_extra_frame_info): Ditto. * h8300-tdep.c (h8300_init_extra_frame_info): Ditto. * d10v-tdep.c (d10v_init_extra_frame_info): Ditto. * cris-tdep.c (cris_init_extra_frame_info): Ditto. * arm-tdep.c (arm_init_extra_frame_info): Ditto. * alpha-tdep.c (alpha_init_extra_frame_info): Ditto. * mn10300-tdep.c (analyze_dummy_frame): Use deprecated_set_frame_extra_info_hack. * mcore-tdep.c (analyze_dummy_frame): Ditto.
Diffstat (limited to 'gdb/alpha-tdep.c')
-rw-r--r--gdb/alpha-tdep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c
index b63a1c6..645b6b0 100644
--- a/gdb/alpha-tdep.c
+++ b/gdb/alpha-tdep.c
@@ -982,8 +982,7 @@ alpha_init_extra_frame_info (int fromleaf, struct frame_info *frame)
alpha_extra_func_info_t proc_desc =
frame->next ? cached_proc_desc : find_proc_desc (get_frame_pc (frame), frame->next);
- frame->extra_info = (struct frame_extra_info *)
- frame_obstack_alloc (sizeof (struct frame_extra_info));
+ frame_extra_info_zalloc (frame, sizeof (struct frame_extra_info));
/* NOTE: cagney/2003-01-03: No need to set saved_regs to NULL,
always NULL by default. */