122574Sdist /* 222574Sdist * Copyright (c) 1980 Regents of the University of California. 322574Sdist * All rights reserved. The Berkeley software License Agreement 422574Sdist * specifies the terms and conditions for redistribution. 522574Sdist * 6*33243Sbostic * @(#)process.h 5.2 (Berkeley) 01/03/88 722574Sdist */ 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 20*33243Sbostic int initstart(); /* initial process start up */ 21*33243Sbostic int run(); /* start program running */ 22*33243Sbostic int arginit(); /* initialize program arguments */ 23*33243Sbostic int setargs(); /* special argument handling */ 24*33243Sbostic int newarg(); /* add a new argument to list for program */ 25*33243Sbostic int inarg(); /* set standard input for program */ 26*33243Sbostic int outarg(); /* set standard output for program */ 27*33243Sbostic int cont(); /* continue execution where last left off */ 28*33243Sbostic int step(); /* single step */ 29*33243Sbostic int stepc(); /* single step command */ 30*33243Sbostic int stepto(); /* execute up to a given address */ 31*33243Sbostic int next(); /* single step, skip over calls */ 32*33243Sbostic int endprogram(); /* note the termination of the program */ 33*33243Sbostic int printstatus(); /* print current error */ 34*33243Sbostic int printwhere(); /* print current source line and file */ 355455Slinton BOOLEAN isfinished(); /* TRUE if process has terminated */ 36*33243Sbostic int iread(), dread(); /* read from the process' address space */ 37*33243Sbostic int iwrite(), dwrite(); /* write to the process' address space */ 38