aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-03-13 18:09:30 +0000
committerAndrew Cagney <cagney@redhat.com>2003-03-13 18:09:30 +0000
commit1594fa5616a49b5942c88b9e569fddc5c8e54753 (patch)
treee201db522c8e73e8e057dfc3433f7fcb3d0c60e0 /gdb/frame.h
parentab829d36ec25f884e57ec8eb9a39b0cbb6bc7bd0 (diff)
downloadgdb-1594fa5616a49b5942c88b9e569fddc5c8e54753.zip
gdb-1594fa5616a49b5942c88b9e569fddc5c8e54753.tar.gz
gdb-1594fa5616a49b5942c88b9e569fddc5c8e54753.tar.bz2
2003-03-13 Andrew Cagney <cagney@redhat.com>
* frame.c (legacy_frame_p): New function. (get_prev_frame): Use legacy_frame_p. * frame.h (legacy_frame_p): Declare.
Diffstat (limited to 'gdb/frame.h')
-rw-r--r--gdb/frame.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/frame.h b/gdb/frame.h
index 18c4df4..9e477a6 100644
--- a/gdb/frame.h
+++ b/gdb/frame.h
@@ -701,4 +701,8 @@ extern struct context *deprecated_get_frame_context (struct frame_info *fi);
extern void deprecated_set_frame_context (struct frame_info *fi,
struct context *context);
+/* Return non-zero if the architecture is relying on legacy frame
+ code. */
+extern int legacy_frame_p (struct gdbarch *gdbarch);
+
#endif /* !defined (FRAME_H) */