static struct frame_info * analyze_dummy_frame (CORE_ADDR pc, CORE_ADDR frame) { static struct frame_info *dummy = NULL; if (dummy == NULL) { dummy = xmalloc (sizeof (struct frame_info)); dummy->saved_regs = xmalloc (SIZEOF_FRAME_SAVED_REGS); dummy->extra_info = xmalloc (sizeof (struct frame_extra_info)); } dummy->next = NULL; dummy->prev = NULL; dummy->pc = pc; dummy->frame = frame; dummy->extra_info->status = 0; dummy->extra_info->stack_size = 0; memset (dummy->saved_regs, '\000', SIZEOF_FRAME_SAVED_REGS); mn10300_analyze_prologue (dummy, 0); return dummy; }
static CORE_ADDR mn10300_skip_prologue (CORE_ADDR pc) { return mn10300_analyze_prologue (NULL, NULL, pc); }