1 /* Copyright (c) 1982 Regents of the University of California */ 2 3 /* static char sccsid[] = "@(#)process.h 1.2 01/18/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 start(); /* start up process */ 17 run(); /* start program running */ 18 arginit(); /* initialize for program arguments */ 19 newarg(); /* add a new argument to list for program */ 20 inarg(); /* set standard input for program */ 21 outarg(); /* set standard output for program */ 22 cont(); /* continue execution where last left off */ 23 step(); /* single step */ 24 stepc(); /* single step command */ 25 stepto(); /* execute up to a given address */ 26 next(); /* single step, skip over calls */ 27 endprogram(); /* note the termination of the program */ 28 printstatus(); /* print current error */ 29 BOOLEAN isfinished(); /* TRUE if process has terminated */ 30 iread(), dread(); /* read from the process' address space */ 31 iwrite(), dwrite(); /* write to the process' address space */ 32