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