1*5456Slinton /* Copyright (c) 1982 Regents of the University of California */ 2*5456Slinton 3*5456Slinton static char sccsid[] = "@(#)runtime.h 1.1 01/18/82"; 4*5456Slinton 5*5456Slinton /* 6*5456Slinton * Definitions for the runtime environment. 7*5456Slinton * 8*5456Slinton * In general, runtime organization is language, machine, and 9*5456Slinton * even compiler dependent. 10*5456Slinton */ 11*5456Slinton 12*5456Slinton BOOLEAN isactive(); /* tell if a symbol is currently active */ 13*5456Slinton ADDRESS entry_addr(); /* entry address of current proc/func */ 14*5456Slinton ADDRESS entry_point(); /* point where environment is setup */ 15*5456Slinton ADDRESS return_addr(); /* return address of current proc/func */ 16*5456Slinton ADDRESS caller_addr(); /* entry of caller of current proc/func */ 17*5456Slinton where(); /* print out currently active procedures */ 18*5456Slinton dump(); /* dump the world */ 19*5456Slinton callproc(); /* call a procedure */ 20*5456Slinton procreturn(); /* return from a "call"-ed procedure */ 21*5456Slinton ADDRESS address(); /* address of a variable */ 22*5456Slinton ADDRESS firstline(); /* address of first line in a procedure */ 23*5456Slinton findbeginning(); /* find address of beginning of a procedure */ 24*5456Slinton runtofirst(); /* step to first line in current procedure */ 25*5456Slinton ADDRESS lastaddr(); /* address of last line in program */ 26*5456Slinton ADDRESS fparamaddr(); /* entry address of a function parameter */ 27