1 /* 2 * Copyright (c) 1980 Regents of the University of California. 3 * All rights reserved. The Berkeley software License Agreement 4 * specifies the terms and conditions for redistribution. 5 * 6 * @(#)pxinfo.h 5.1 (Berkeley) 06/06/85 7 */ 8 9 /* 10 * This is the information we get after the initial trap that px does. 11 * By passing the "-d" flag, we cause px to call a procedure with the 12 * the following information: 13 * 14 * address of the display 15 * address of the display pointer 16 * address of the beginning of the object code 17 * 18 * the address of a variable containing the address of the first local 19 * variable in the interpreter procedure 20 * (this is used to find the frame where the pc is) 21 * the address of the main interpreter loop 22 */ 23 24 typedef struct { 25 int nargs; 26 ADDRESS *disp; 27 ADDRESS *dp; 28 ADDRESS objstart; 29 ADDRESS pcaddrp; 30 ADDRESS loopaddr; 31 } TRAPARGS; 32 33 ADDRESS *DISPLAY; 34 ADDRESS *DP; 35 ADDRESS ENDOFF; 36 ADDRESS PCADDRP; 37 ADDRESS LOOPADDR; 38 ADDRESS *pcframe; 39