aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-12-12 00:56:44 +0000
committerAndrew Cagney <cagney@redhat.com>2002-12-12 00:56:44 +0000
commit0394eb2acb98a44baf700c4811bf47d39a542c87 (patch)
treee4d816162bb24f5367a62ec50e085ddc43de6fa4 /gdb/frame.h
parent37444a97e6ab59d1c6bffac9ba2bd4912e59add3 (diff)
downloadgdb-0394eb2acb98a44baf700c4811bf47d39a542c87.zip
gdb-0394eb2acb98a44baf700c4811bf47d39a542c87.tar.gz
gdb-0394eb2acb98a44baf700c4811bf47d39a542c87.tar.bz2
2002-12-11 Andrew Cagney <ac131313@redhat.com>
* frame.c (get_frame_extra_info): New function. * frame.h (get_frame_extra_info): Declare.
Diffstat (limited to 'gdb/frame.h')
-rw-r--r--gdb/frame.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/frame.h b/gdb/frame.h
index b9a933a..1fccc84 100644
--- a/gdb/frame.h
+++ b/gdb/frame.h
@@ -643,4 +643,12 @@ extern struct frame_info *deprecated_selected_frame;
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. */
+
+extern struct frame_extra_info *get_frame_extra_info (struct frame_info *fi);
+
#endif /* !defined (FRAME_H) */