forked from Imagelibrary/binutils-gdb
2003-06-16 Andrew Cagney <cagney@redhat.com>
* frame.h (deprecated_get_next_frame_hack): Declare. * frame.c (legacy_saved_regs_prev_register): Only require DEPRECATED_FRAME_INIT_SAVED_REGS when it is needed. Assert that there are always saved regs. (deprecated_generic_get_saved_register): Do not require DEPRECATED_FRAME_INIT_SAVED_REGS. (legacy_get_prev_frame): Do not require DEPRECATED_FRAME_CHAIN, use frame ID unwind instead. (deprecated_get_next_frame_hack): New function.
This commit is contained in:
@@ -154,6 +154,13 @@ extern void select_frame (struct frame_info *);
|
||||
extern struct frame_info *get_prev_frame (struct frame_info *);
|
||||
extern struct frame_info *get_next_frame (struct frame_info *);
|
||||
|
||||
/* Given a FRAME, return the true next (more inner, younger) frame.
|
||||
This one exposes the sentinel frame and, hence, never returns NULL.
|
||||
It is here strictly to help old targets in their migration path to
|
||||
the new frame code - the new code requires the NEXT, and not THIS
|
||||
frame. */
|
||||
extern struct frame_info *deprecated_get_next_frame_hack (struct frame_info *);
|
||||
|
||||
/* Given a frame's ID, relocate the frame. Returns NULL if the frame
|
||||
is not found. */
|
||||
extern struct frame_info *frame_find_by_id (struct frame_id id);
|
||||
|
||||
Reference in New Issue
Block a user