xref: /original-bsd/usr.bin/pascal/pdx/process.h (revision bdd86a84)
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  *	@(#)process.h	5.2 (Berkeley) 01/03/88
7  */
8 
9 /*
10  * Definitions for process module.
11  *
12  * This module contains the routines to manage the execution and
13  * tracing of the debuggee process.
14  */
15 
16 typedef struct process PROCESS;
17 
18 PROCESS *process;
19 
20 int initstart();	/* initial process start up */
21 int run();		/* start program running */
22 int arginit();		/* initialize program arguments */
23 int setargs();		/* special argument handling */
24 int newarg();		/* add a new argument to list for program */
25 int inarg();		/* set standard input for program */
26 int outarg();		/* set standard output for program */
27 int cont();		/* continue execution where last left off */
28 int step();		/* single step */
29 int stepc();		/* single step command */
30 int stepto();		/* execute up to a given address */
31 int next();		/* single step, skip over calls */
32 int endprogram();	/* note the termination of the program */
33 int printstatus();	/* print current error */
34 int printwhere();	/* print current source line and file */
35 BOOLEAN isfinished();	/* TRUE if process has terminated */
36 int iread(), dread();	/* read from the process' address space */
37 int iwrite(), dwrite();	/* write to the process' address space */
38