1 /* Copyright (c) 1982 Regents of the University of California */ 2 3 /* static char sccsid[] = "@(#)process.h 1.5 02/11/82"; */ 4 5 /* 6 * Definitions for process module. 7 * 8 * This module contains the routines to manage the execution and 9 * tracing of the debuggee process. 10 */ 11 12 typedef struct process PROCESS; 13 14 PROCESS *process; 15 16 initstart(); /* initial process start up */ 17 run(); /* start program running */ 18 arginit(); /* initialize program arguments */ 19 setargs(); /* special argument handling */ 20 newarg(); /* add a new argument to list for program */ 21 inarg(); /* set standard input for program */ 22 outarg(); /* set standard output for program */ 23 cont(); /* continue execution where last left off */ 24 step(); /* single step */ 25 stepc(); /* single step command */ 26 stepto(); /* execute up to a given address */ 27 next(); /* single step, skip over calls */ 28 endprogram(); /* note the termination of the program */ 29 printstatus(); /* print current error */ 30 printwhere(); /* print current source line and file */ 31 BOOLEAN isfinished(); /* TRUE if process has terminated */ 32 iread(), dread(); /* read from the process' address space */ 33 iwrite(), dwrite(); /* write to the process' address space */ 34