X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fframe.h;h=e5c3d1004c1556309c0c7c4d876d4cca99cff80f;hb=ec8f76882145c71bef81a9cadf0bf51ff9fa5b35;hp=dc25ce96a26db94a5801a5102a9127519c3b8812;hpb=df433d316277ff5293832d3cd6cbc30b5c38dec0;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/frame.h b/gdb/frame.h index dc25ce96a2..e5c3d1004c 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