new copyright; att/bsd/shared
[unix-history] / usr / src / usr.bin / pascal / pdx / machine.h
CommitLineData
505bf312
KB
1/*-
2 * Copyright (c) 1980 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * %sccs.include.redist.c%
3cd5310a 6 *
505bf312 7 * @(#)machine.h 5.4 (Berkeley) %G%
3cd5310a 8 */
2eef2279
ML
9
10/*
11 * Definitions for the machine module.
12 *
13 * This module has the low level machine interface. This consists
14 * mostly of dealing with machine instructions and also setting
15 * and unsetting breakpoints.
16 */
17
18ADDRESS pc; /* current program counter */
19LINENO curline; /* line number associated with pc */
20SYM *curfunc; /* pointer to active function symbol */
2eef2279 21
7d4de299
KB
22int setbp(); /* set a breakpoint */
23int unsetbp(); /* unset a breakpoint */
2eef2279 24BOOLEAN isbperr(); /* test if a breakpoint has occurred */
7d4de299 25int printerror(); /* print out an execution error message */
2eef2279 26ADDRESS nextaddr(); /* address of next line to be executed */
514bd573 27BOOLEAN isendofproc(); /* test if address is at end of procedure */
7d4de299
KB
28int printinst(), printninst(); /* print the instruction at a given address */
29int printdata(), printndata(); /* print the contents of a given data address */