diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-01-09 18:53:21 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-01-09 18:53:21 +0000 |
commit | 479ab5a00d3aa5dba754b8231a4c9e0b03d33ded (patch) | |
tree | 67a84f3a481ea046e7009095ba9c15d0b8784325 /gdb/dwarf2cfi.c | |
parent | 696d5a5b8440861f2e53015652b37388ef6d4283 (diff) | |
download | ppe42-binutils-479ab5a00d3aa5dba754b8231a4c9e0b03d33ded.tar.gz ppe42-binutils-479ab5a00d3aa5dba754b8231a4c9e0b03d33ded.zip |
2003-01-09 Andrew Cagney <ac131313@redhat.com>
* frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
Update comments.
* frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
(frame_saved_regs_zalloc): Update.
(frame_saved_regs_register_unwind): Update.
(create_new_frame): Update.
(get_prev_frame): Update.
(frame_extra_info_zalloc): Update.
(deprecated_get_frame_saved_regs): Update.
* dwarf2cfi.c (cfi_init_extra_frame_info): Update.
* cris-tdep.c: Update comment.
Diffstat (limited to 'gdb/dwarf2cfi.c')
-rw-r--r-- | gdb/dwarf2cfi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/dwarf2cfi.c b/gdb/dwarf2cfi.c index d70b3e61fb..8c5d39c920 100644 --- a/gdb/dwarf2cfi.c +++ b/gdb/dwarf2cfi.c @@ -1770,9 +1770,9 @@ cfi_init_extra_frame_info (int fromleaf, struct frame_info *fi) unwind_tmp_obstack_init (); fs = frame_state_alloc (); - deprecated_set_frame_context (fi, frame_obstack_alloc (sizeof (struct context))); + deprecated_set_frame_context (fi, frame_obstack_zalloc (sizeof (struct context))); UNWIND_CONTEXT (fi)->reg = - frame_obstack_alloc (sizeof (struct context_reg) * NUM_REGS); + frame_obstack_zalloc (sizeof (struct context_reg) * NUM_REGS); memset (UNWIND_CONTEXT (fi)->reg, 0, sizeof (struct context_reg) * NUM_REGS); |