1 /*- 2 * Copyright (c) 1980, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)runtime.h 8.1 (Berkeley) 06/06/93 8 */ 9 10 /* 11 * Definitions for the runtime environment. 12 * 13 * In general, runtime organization is language, machine, and 14 * even compiler dependent. 15 */ 16 17 BOOLEAN isactive(); /* tell if a symbol is currently active */ 18 ADDRESS entry_addr(); /* entry address of current proc/func */ 19 ADDRESS entry_point(); /* point where environment is setup */ 20 ADDRESS return_addr(); /* return address of current proc/func */ 21 ADDRESS caller_addr(); /* entry of caller of current proc/func */ 22 int where(); /* print out currently active procedures */ 23 int dump(); /* dump the world */ 24 int callproc(); /* call a procedure */ 25 int procreturn(); /* return from a "call"-ed procedure */ 26 ADDRESS address(); /* address of a variable */ 27 ADDRESS firstline(); /* address of first line in a procedure */ 28 int findbeginning(); /* find address of beginning of a procedure */ 29 int runtofirst(); /* step to first line in current procedure */ 30 ADDRESS lastaddr(); /* address of last line in program */ 31 ADDRESS fparamaddr(); /* entry address of a function parameter */ 32