READ_ME 806 B

1234567891011121314151617
  1. $Id$
  2. The machine-dependant part of the ACK debugger support requires three
  3. routines:
  4. ___Get_PC takes a frame pointer (local base) argument and returns the
  5. return address from this frame.
  6. ___Set_PC takes a frame pointer (local base) argument plus a return
  7. address and sets the return address of this frame to the
  8. return address supplied.
  9. ??? a third routine which is called at every line (see for
  10. instance mach/m68020/ncg/mach.c for an example of how to
  11. do this). This routine must save the scratch registers
  12. and then call (or jump to) ___uX_LiB. If this is a call,
  13. ___Get_PC and ___Set_PC are complicated by the existance
  14. of a procedure frame that we do not want the "grind" user
  15. to know about. See for instance the mach/m68020/libdb version
  16. for how to solve this problem.