get_frame_saved_regs (frame, &fsr);
if (DEPRECATED_PC_IN_CALL_DUMMY (get_frame_pc (frame), get_frame_base (frame), get_frame_base (frame))) { generic_pop_dummy_frame (); } else { for (regno = 0; regno < 8; regno++) {  if (deprecated_get_frame_saved_regs (frame)[regno] && regno != E_SP_REGNUM) write_register (regno, read_memory_integer (deprecated_get_frame_saved_regs (frame)[regno], BINWORD)); else if (deprecated_get_frame_saved_regs (frame)[regno] && regno == E_SP_REGNUM) write_register (regno, get_frame_base (frame) + 2 * BINWORD); }
h8300_pop_frame (){  unsigned regnum;  struct frame_saved_regs fsr;  struct frame_info *frame = get_current_frame ();  get_frame_saved_regs (frame, &fsr);  for (regnum = 0; regnum < 8; regnum++)    {      /* Don't forget SP_REGNUM is a frame_saved_regs struct is the	 actual value we want, not the address of the value we want.  */      if (fsr.regs[regnum] && regnum != SP_REGNUM)	write_register (regnum, read_memory_integer(fsr.regs[regnum], BINWORD));      else if (fsr.regs[regnum] && regnum == SP_REGNUM)	write_register (regnum, fsr.regs[regnum]);    }  /* Don't forget the update the PC too!  */  write_pc (frame->from_pc);  flush_cached_frames ();}