X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gdb%2Fframe.h;h=5f21bb88bf1fac1917c40168d5b3616b3fbe69c3;hb=6763d566a8d30d1ad65dfd060a919c621dad86c4;hp=03f38925db583faa89eac70f525c8d5604cceebd;hpb=060967202b8def804d9afccad343d2eaef8a81cf;p=external%2Fbinutils.git diff --git a/gdb/frame.h b/gdb/frame.h index 03f3892..5f21bb8 100644 --- a/gdb/frame.h +++ b/gdb/frame.h @@ -1,6 +1,6 @@ /* Definitions for dealing with stack frames, for GDB, the GNU debugger. - Copyright (C) 1986-2015 Free Software Foundation, Inc. + Copyright (C) 1986-2016 Free Software Foundation, Inc. This file is part of GDB. @@ -820,5 +820,15 @@ 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. Return NULL if FRAME is the start of a tailcall-only + chain. */ + +extern struct frame_info *skip_tailcall_frames (struct frame_info *frame); + +/* Return the first frame above FRAME or FRAME of which the code is + writable. */ + +extern struct frame_info *skip_unwritable_frames (struct frame_info *frame); #endif /* !defined (FRAME_H) */