2002-12-13 Andrew Cagney <ac131313@redhat.com>

* frame.c (frame_extra_info_zalloc): New function.
	* frame.h (frame_extra_info_zalloc): Declare.
This commit is contained in:
Andrew Cagney 2002-12-13 16:11:32 +00:00
parent 516b1f280d
commit 2c517d0eb4
3 changed files with 18 additions and 4 deletions

View file

@ -1209,6 +1209,14 @@ get_frame_extra_info (struct frame_info *fi)
return fi->extra_info;
}
struct frame_extra_info *
frame_extra_info_zalloc (struct frame_info *fi, long size)
{
fi->extra_info = frame_obstack_alloc (size);
memset (fi->extra_info, 0, size);
return fi->extra_info;
}
void
_initialize_frame (void)
{