From 2c517d0eb4a66f872b052972e5a76990efb8cf3f Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 13 Dec 2002 16:11:32 +0000 Subject: 2002-12-13 Andrew Cagney * frame.c (frame_extra_info_zalloc): New function. * frame.h (frame_extra_info_zalloc): Declare. --- gdb/frame.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'gdb/frame.h') diff --git a/gdb/frame.h b/gdb/frame.h index 1fccc84..d42780d 100644 --- a/gdb/frame.h +++ b/gdb/frame.h @@ -644,11 +644,12 @@ extern void set_current_frame (struct frame_info *); extern struct frame_info *create_new_frame (CORE_ADDR, CORE_ADDR); -/* NOTE: cagney/2002-12-10: - - Let older code access the member `extra_info'. This member is - always initialized during frame creation so is always non-null. */ +/* Create/access the frame's `extra info'. The extra info is used by + older code to store information such as the analyzed prologue. The + zalloc() should only be called by the INIT_EXTRA_INFO method. */ +extern struct frame_extra_info *frame_extra_info_zalloc (struct frame_info *fi, + long size); extern struct frame_extra_info *get_frame_extra_info (struct frame_info *fi); #endif /* !defined (FRAME_H) */ -- cgit v1.1