X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fdummy-frame.h;h=6db312ea0e053f3cee4ac26e3392000615d1ba3e;hb=d57dda0ab3da976aeedce4a5c792a584d3fb9ec0;hp=c97301cd7b8a85dd696f49540d4833767bdbbd7d;hpb=39d7b0e29259dcf5cf966530ac416d1eb287ccbb;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/dummy-frame.h b/gdb/dummy-frame.h index c97301cd7b..6db312ea0e 100644 --- a/gdb/dummy-frame.h +++ b/gdb/dummy-frame.h @@ -1,7 +1,6 @@ /* Code dealing with dummy stack frames, for GDB, the GNU debugger. - Copyright (C) 2002, 2004, 2007, 2008, 2009, 2010 - Free Software Foundation, Inc. + Copyright (C) 2002-2014 Free Software Foundation, Inc. This file is part of GDB. @@ -23,7 +22,7 @@ #include "frame.h" -struct inferior_thread_state; +struct infcall_suspend_state; struct frame_unwind; /* Push the information needed to identify, and unwind from, a dummy @@ -39,7 +38,7 @@ struct frame_unwind; be expanded so that it knowns the lower/upper extent of the dummy frame's code. */ -extern void dummy_frame_push (struct inferior_thread_state *caller_state, +extern void dummy_frame_push (struct infcall_suspend_state *caller_state, const struct frame_id *dummy_id); /* Pop the dummy frame DUMMY_ID, restoring program state to that before the @@ -53,6 +52,8 @@ extern void dummy_frame_push (struct inferior_thread_state *caller_state, extern void dummy_frame_pop (struct frame_id dummy_id); +extern void dummy_frame_discard (struct frame_id dummy_id); + /* If the PC falls in a dummy frame, return a dummy frame unwinder. */