Reviewed by Daniel Jacobowitz <drow@false.org>

2006-07-31  Fred Fish  <fnf@specifix.com>
	* arm-tdep.c (arm_make_prologue_cache): Use FRAME_OBSTACK_ZALLOC
	instead of calling frame_obstack_zalloc directly.
	(arm_make_stub_cache): Ditto.
	* frame-unwind.h: Ditto.
	* frame.c (create_new_frame): Ditto.
This commit is contained in:
Fred Fish 2006-07-31 17:33:30 +00:00
parent d103cf6117
commit 35d5d4ee3d
4 changed files with 13 additions and 5 deletions

View file

@ -72,7 +72,7 @@ typedef int (frame_sniffer_ftype) (const struct frame_unwind *self,
THIS_PROLOGUE_CACHE can be used to share any prolog analysis data
with the other unwind methods. Memory for that cache should be
allocated using frame_obstack_zalloc(). */
allocated using FRAME_OBSTACK_ZALLOC(). */
typedef void (frame_this_id_ftype) (struct frame_info *next_frame,
void **this_prologue_cache,
@ -108,7 +108,7 @@ typedef void (frame_this_id_ftype) (struct frame_info *next_frame,
THIS_PROLOGUE_CACHE can be used to share any prolog analysis data
with the other unwind methods. Memory for that cache should be
allocated using frame_obstack_zalloc(). */
allocated using FRAME_OBSTACK_ZALLOC(). */
typedef void (frame_prev_register_ftype) (struct frame_info *next_frame,
void **this_prologue_cache,