diff options
Diffstat (limited to 'gdb/frame.h')
-rw-r--r-- | gdb/frame.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/frame.h b/gdb/frame.h index dc25ce9..e5c3d10 100644 --- a/gdb/frame.h +++ b/gdb/frame.h @@ -331,6 +331,10 @@ extern struct frame_info *get_prev_frame_always (struct frame_info *); is not found. */ extern struct frame_info *frame_find_by_id (struct frame_id id); +/* Given a frame's ID, find the previous frame's ID. Returns null_frame_id + if the frame is not found. */ +extern struct frame_id get_prev_frame_id_by_id (struct frame_id id); + /* Base attributes of a frame: */ /* The frame's `resume' address. Where the program will resume in |