xref: /csrg-svn/usr.bin/pascal/pdx/process.h (revision 22574)
1*22574Sdist /*
2*22574Sdist  * Copyright (c) 1980 Regents of the University of California.
3*22574Sdist  * All rights reserved.  The Berkeley software License Agreement
4*22574Sdist  * specifies the terms and conditions for redistribution.
5*22574Sdist  *
6*22574Sdist  *	@(#)process.h	5.1 (Berkeley) 06/06/85
7*22574Sdist  */
85455Slinton 
95455Slinton /*
105455Slinton  * Definitions for process module.
115455Slinton  *
125455Slinton  * This module contains the routines to manage the execution and
135455Slinton  * tracing of the debuggee process.
145455Slinton  */
155455Slinton 
165455Slinton typedef struct process PROCESS;
175455Slinton 
185455Slinton PROCESS *process;
195455Slinton 
205758Slinton initstart();		/* initial process start up */
215455Slinton run();			/* start program running */
225589Slinton arginit();		/* initialize program arguments */
235589Slinton setargs();		/* special argument handling */
245455Slinton newarg();		/* add a new argument to list for program */
255455Slinton inarg();		/* set standard input for program */
265455Slinton outarg();		/* set standard output for program */
275455Slinton cont();			/* continue execution where last left off */
285455Slinton step();			/* single step */
295455Slinton stepc();		/* single step command */
305455Slinton stepto();		/* execute up to a given address */
315455Slinton next();			/* single step, skip over calls */
325455Slinton endprogram();		/* note the termination of the program */
335455Slinton printstatus();		/* print current error */
345758Slinton printwhere();		/* print current source line and file */
355455Slinton BOOLEAN isfinished();	/* TRUE if process has terminated */
365455Slinton iread(), dread();	/* read from the process' address space */
375455Slinton iwrite(), dwrite();	/* write to the process' address space */
38