X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=sidebyside;f=gdb%2Fdummy-frame.h;h=1d43510947131f1868874c6290b168cff707b271;hb=39ec04904ff172dd67fd43ed3720f26d854732bf;hp=407f398404e21d66ce22b738317f70ce99dfa161;hpb=00431a78b28f913a9d5c912c49680e39cfd20847;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/dummy-frame.h b/gdb/dummy-frame.h index 407f398404..1d43510947 100644 --- a/gdb/dummy-frame.h +++ b/gdb/dummy-frame.h @@ -1,6 +1,6 @@ /* Code dealing with dummy stack frames, for GDB, the GNU debugger. - Copyright (C) 2002-2018 Free Software Foundation, Inc. + Copyright (C) 2002-2020 Free Software Foundation, Inc. This file is part of GDB. @@ -24,6 +24,7 @@ struct infcall_suspend_state; struct frame_unwind; +class thread_info; /* Push the information needed to identify, and unwind from, a dummy frame onto the dummy frame stack. */ @@ -73,4 +74,10 @@ extern void register_dummy_frame_dtor (frame_id dummy_id, extern int find_dummy_frame_dtor (dummy_frame_dtor_ftype *dtor, void *dtor_data); +/* Default implementation of gdbarch_dummy_id. Generate a dummy frame_id + for THIS_FRAME assuming that the frame is a dummy frame. */ + +extern struct frame_id default_dummy_id (struct gdbarch *gdbarch, + struct frame_info *this_frame); + #endif /* !defined (DUMMY_FRAME_H) */