aboutsummaryrefslogtreecommitdiff
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
commit2c517d0eb4a66f872b052972e5a76990efb8cf3f (patch)
tree9f4f5c6c2fce0d63693c078a44184368bf42d61e /gdb/frame.h
parent516b1f280dbebe0c6541897d8319ddcfa296bcb8 (diff)
downloadfsf-binutils-gdb-2c517d0eb4a66f872b052972e5a76990efb8cf3f.zip
fsf-binutils-gdb-2c517d0eb4a66f872b052972e5a76990efb8cf3f.tar.gz
fsf-binutils-gdb-2c517d0eb4a66f872b052972e5a76990efb8cf3f.tar.bz2
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 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) */