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