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.
This commit is contained in:
Andrew Cagney
2003-03-13 18:09:30 +00:00
parent ab829d36ec
commit 1594fa5616
3 changed files with 20 additions and 4 deletions

View File

@ -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) */