2003-08-12 Andrew Cagney <cagney@redhat.com>

* frame.c (deprecated_frame_xmalloc): Use XMALLOC, instead of
	FRAME_OBSTACK_ZALLOC.
This commit is contained in:
Andrew Cagney 2003-08-12 17:45:13 +00:00
parent 0b28295df7
commit bcf7d3caa2
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2003-08-12 Andrew Cagney <cagney@redhat.com>
* frame.c (deprecated_frame_xmalloc): Use XMALLOC, instead of
FRAME_OBSTACK_ZALLOC.
2003-08-12 Kevin Buettner <kevinb@redhat.com> 2003-08-12 Kevin Buettner <kevinb@redhat.com>
* i386-tdep.c (i386_gdbarch_init): Enable default support for * i386-tdep.c (i386_gdbarch_init): Enable default support for

View file

@ -2279,7 +2279,8 @@ deprecated_set_frame_context (struct frame_info *fi,
struct frame_info * struct frame_info *
deprecated_frame_xmalloc (void) deprecated_frame_xmalloc (void)
{ {
struct frame_info *frame = FRAME_OBSTACK_ZALLOC (struct frame_info); struct frame_info *frame = XMALLOC (struct frame_info);
memset (frame, 0, sizeof (*frame));
frame->this_id.p = 1; frame->this_id.p = 1;
return frame; return frame;
} }