forked from Imagelibrary/binutils-gdb
frame: add skip_tailcall_frames
Add a new function skip_tailcall_frames to skip TAILCALL_FRAME frames. gdb/ * frame.h (skip_tailcall_frames): New. * frame.c (skip_tailcall_frames): New. (frame_pop): Call skip_tailcall_frames. * infcmd.c (finish_command): Call skip_tailcall_frames.
This commit is contained in:
@@ -820,5 +820,9 @@ extern int frame_unwinder_is (struct frame_info *fi,
|
||||
|
||||
extern enum language get_frame_language (struct frame_info *frame);
|
||||
|
||||
/* Return the first non-tailcall frame above FRAME or FRAME if it is not a
|
||||
tailcall frame. */
|
||||
|
||||
extern struct frame_info *skip_tailcall_frames (struct frame_info *frame);
|
||||
|
||||
#endif /* !defined (FRAME_H) */
|
||||
|
||||
Reference in New Issue
Block a user