xref: /csrg-svn/usr.bin/pascal/pdx/process.h (revision 62131)
148104Sbostic /*-
2*62131Sbostic  * Copyright (c) 1980, 1993
3*62131Sbostic  *	The Regents of the University of California.  All rights reserved.
422574Sdist  *
548104Sbostic  * %sccs.include.redist.c%
648104Sbostic  *
7*62131Sbostic  *	@(#)process.h	8.1 (Berkeley) 06/06/93
822574Sdist  */
95455Slinton 
105455Slinton /*
115455Slinton  * Definitions for process module.
125455Slinton  *
135455Slinton  * This module contains the routines to manage the execution and
145455Slinton  * tracing of the debuggee process.
155455Slinton  */
165455Slinton 
175455Slinton typedef struct process PROCESS;
185455Slinton 
195455Slinton PROCESS *process;
205455Slinton 
2133243Sbostic int initstart();	/* initial process start up */
2233243Sbostic int run();		/* start program running */
2333243Sbostic int arginit();		/* initialize program arguments */
2433243Sbostic int setargs();		/* special argument handling */
2533243Sbostic int newarg();		/* add a new argument to list for program */
2633243Sbostic int inarg();		/* set standard input for program */
2733243Sbostic int outarg();		/* set standard output for program */
2833243Sbostic int cont();		/* continue execution where last left off */
2933243Sbostic int step();		/* single step */
3033243Sbostic int stepc();		/* single step command */
3133243Sbostic int stepto();		/* execute up to a given address */
3233243Sbostic int next();		/* single step, skip over calls */
3333243Sbostic int endprogram();	/* note the termination of the program */
3433243Sbostic int printstatus();	/* print current error */
3533243Sbostic int printwhere();	/* print current source line and file */
365455Slinton BOOLEAN isfinished();	/* TRUE if process has terminated */
3733243Sbostic int iread(), dread();	/* read from the process' address space */
3833243Sbostic int iwrite(), dwrite();	/* write to the process' address space */
39