96 dummy_frame = XCNEW (
struct dummy_frame);
98 dummy_frame->
id.
id = (*dummy_id);
99 dummy_frame->
id.
ptid = ptid;
101 dummy_frame_stack = dummy_frame;
120 *dummy_ptr = dummy->
next;
174 *dummy_ptr = dummy->
next;
190 for (dp = &dummy_frame_stack; *dp != NULL; dp = &(*dp)->
next)
244 list =
xmalloc (
sizeof (*list));
258 for (d = dummy_frame_stack; d != NULL; d = d->
next)
276 while (dummy_frame_stack != NULL)
291 void **this_prologue_cache)
302 if (dummy_frame_stack != NULL)
312 for (dummyframe = dummy_frame_stack;
314 dummyframe = dummyframe->
next)
324 (*this_prologue_cache) = cache;
335 static struct value *
337 void **this_prologue_cache,
342 struct value *reg_val;
366 void **this_prologue_cache,
391 for (s = dummy_frame_stack; s != NULL; s = s->
next)
427 _(
"Print the contents of the internal dummy-frame stack."),
static void pop_dummy_frame(struct dummy_frame **dummy_ptr)
struct value * value_zero(struct type *type, enum lval_type lv)
void discard_infcall_suspend_state(struct infcall_suspend_state *)
struct dummy_frame * next
int ptid_equal(ptid_t ptid1, ptid_t ptid2)
void dummy_frame_pop(struct frame_id dummy_id, ptid_t ptid)
struct dummy_frame_dtor_list * dtor_list
static struct dummy_frame * dummy_frame_stack
struct ui_file * gdb_stdout
static int dummy_frame_id_eq(struct dummy_frame_id *id1, struct dummy_frame_id *id2)
void register_dummy_frame_dtor(struct frame_id dummy_id, ptid_t ptid, dummy_frame_dtor_ftype *dtor, void *dtor_data)
void _initialize_dummy_frame(void)
struct ui_file * gdb_fopen(const char *name, const char *mode)
static struct value * dummy_frame_prev_register(struct frame_info *this_frame, void **this_prologue_cache, int regnum)
char * target_pid_to_str(ptid_t ptid)
static void fprint_dummy_frames(struct ui_file *file)
#define FRAME_OBSTACK_ZALLOC(TYPE)
void dummy_frame_discard(struct frame_id dummy_id, ptid_t ptid)
struct frame_id gdbarch_dummy_id(struct gdbarch *gdbarch, struct frame_info *this_frame)
struct observer * observer_attach_inferior_created(observer_inferior_created_ftype *f)
int frame_id_eq(struct frame_id l, struct frame_id r)
struct infcall_suspend_state * caller_state
static struct dummy_frame ** lookup_dummy_frame(struct dummy_frame_id *dummy_id)
static void maintenance_print_dummy_frames(char *args, int from_tty)
dummy_frame_dtor_ftype * dtor
void dummy_frame_push(struct infcall_suspend_state *caller_state, const struct frame_id *dummy_id, ptid_t ptid)
struct breakpoint * iterate_over_breakpoints(int(*callback)(struct breakpoint *, void *), void *data)
struct regcache * prev_regcache
struct type * register_type(struct gdbarch *gdbarch, int regnum)
void fprintf_unfiltered(struct ui_file *stream, const char *format,...)
struct cmd_list_element * add_cmd(const char *name, enum command_class theclass, cmd_cfunc_ftype *fun, const char *doc, struct cmd_list_element **list)
static int pop_dummy_frame_bpt(struct breakpoint *b, void *dummy_voidp)
void( dummy_frame_dtor_ftype)(void *data, int registers_valid)
gdb_byte * value_contents_writeable(struct value *value)
struct cmd_list_element * maintenanceprintlist
void restore_infcall_suspend_state(struct infcall_suspend_state *)
void gdb_print_host_address(const void *addr, struct ui_file *stream)
void void void void void void void void void perror_with_name(const char *string) ATTRIBUTE_NORETURN
struct dummy_frame_dtor_list * next
struct cleanup * make_cleanup_ui_file_delete(struct ui_file *arg)
struct regcache * get_infcall_suspend_state_regcache(struct infcall_suspend_state *)
enum register_status regcache_cooked_read(struct regcache *regcache, int regnum, gdb_byte *buf)
static int dummy_frame_sniffer(const struct frame_unwind *self, struct frame_info *this_frame, void **this_prologue_cache)
static void dummy_frame_this_id(struct frame_info *this_frame, void **this_prologue_cache, struct frame_id *this_id)
void fprint_frame_id(struct ui_file *file, struct frame_id id)
struct breakpoint * related_breakpoint
enum unwind_stop_reason default_frame_unwind_stop_reason(struct frame_info *this_frame, void **this_cache)
static void cleanup_dummy_frames(struct target_ops *target, int from_tty)
int pid_to_thread_id(ptid_t ptid)
static void remove_dummy_frame(struct dummy_frame **dummy_ptr)
void reinit_frame_cache(void)
int find_dummy_frame_dtor(dummy_frame_dtor_ftype *dtor, void *dtor_data)
void delete_breakpoint(struct breakpoint *bpt)
struct gdbarch * get_frame_arch(struct frame_info *this_frame)
void do_cleanups(struct cleanup *old_chain)