xref: /csrg-svn/usr.bin/pascal/pdx/process.h (revision 5758)
15455Slinton /* Copyright (c) 1982 Regents of the University of California */
25455Slinton 
3*5758Slinton /* static char sccsid[] = "@(#)process.h 1.5 02/11/82"; */
45455Slinton 
55455Slinton /*
65455Slinton  * Definitions for process module.
75455Slinton  *
85455Slinton  * This module contains the routines to manage the execution and
95455Slinton  * tracing of the debuggee process.
105455Slinton  */
115455Slinton 
125455Slinton typedef struct process PROCESS;
135455Slinton 
145455Slinton PROCESS *process;
155455Slinton 
16*5758Slinton initstart();		/* initial process start up */
175455Slinton run();			/* start program running */
185589Slinton arginit();		/* initialize program arguments */
195589Slinton setargs();		/* special argument handling */
205455Slinton newarg();		/* add a new argument to list for program */
215455Slinton inarg();		/* set standard input for program */
225455Slinton outarg();		/* set standard output for program */
235455Slinton cont();			/* continue execution where last left off */
245455Slinton step();			/* single step */
255455Slinton stepc();		/* single step command */
265455Slinton stepto();		/* execute up to a given address */
275455Slinton next();			/* single step, skip over calls */
285455Slinton endprogram();		/* note the termination of the program */
295455Slinton printstatus();		/* print current error */
30*5758Slinton printwhere();		/* print current source line and file */
315455Slinton BOOLEAN isfinished();	/* TRUE if process has terminated */
325455Slinton iread(), dread();	/* read from the process' address space */
335455Slinton iwrite(), dwrite();	/* write to the process' address space */
34