summaryrefslogtreecommitdiff
path: root/gdb/frame.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-12-13 16:11:32 +0000
committerAndrew Cagney <cagney@redhat.com>2002-12-13 16:11:32 +0000
commit358ae29d498ce0d5335b0ecaf62adf5a18b54753 (patch)
treefc9e8e3210003cf5c2c581e23ea9e818836f847b /gdb/frame.h
parent8cd43c0c243a2cdf928ebe4632eec645dfd0daa5 (diff)
downloadgdb-358ae29d498ce0d5335b0ecaf62adf5a18b54753.tar.gz
2002-12-13 Andrew Cagney <ac131313@redhat.com>
* frame.c (frame_extra_info_zalloc): New function. * frame.h (frame_extra_info_zalloc): Declare.
Diffstat (limited to 'gdb/frame.h')
-rw-r--r--gdb/frame.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/gdb/frame.h b/gdb/frame.h
index 1fccc842186..d42780de55c 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) */