|
|
1.1 root 1: /* Copyright (c) 1982 Regents of the University of California */
2:
3: /* static char sccsid[] = "@(#)pxinfo.h 1.2 1/18/82"; */
4:
5: /*
6: * This is the information we get after the initial trap that px does.
7: * By passing the "-d" flag, we cause px to call a procedure with the
8: * the following information:
9: *
10: * address of the display
11: * address of the display pointer
12: * address of the beginning of the object code
13: *
14: * the address of a variable containing the address of the first local
15: * variable in the interpreter procedure
16: * (this is used to find the frame where the pc is)
17: * the address of the main interpreter loop
18: */
19:
20: typedef struct {
21: int nargs;
22: ADDRESS *disp;
23: ADDRESS *dp;
24: ADDRESS objstart;
25: ADDRESS pcaddrp;
26: ADDRESS loopaddr;
27: } TRAPARGS;
28:
29: ADDRESS *DISPLAY;
30: ADDRESS *DP;
31: ADDRESS ENDOFF;
32: ADDRESS PCADDRP;
33: ADDRESS LOOPADDR;
34: ADDRESS *pcframe;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.