# 2.11BSD#431 - /usr/src/sys/h/ptrace.h

##### Macros

    PT_CONTINUE       X
    PT_KILL           X
    PT_READ_D         X
    PT_READ_I         X
    PT_READ_U         X
    PT_STEP           X
    PT_TRACE_ME       X
    PT_WRITE_D        X
    PT_WRITE_I        X
    PT_WRITE_U        X
    _PTRACE_          X

       1: /*
       2:  * Copyright (c) 1980, 1986 Regents of the University of California.
       3:  * All rights reserved.  The Berkeley software License Agreement
       4:  * specifies the terms and conditions for redistribution.
       5:  *
       6:  *	@(#)ptrace.h	7.1 (Berkeley) 6/4/86
       7:  */
       8:
       9: #ifndef _PTRACE_
      10: #define _PTRACE_
      11:
      12: #define PT_TRACE_ME 0   /* child declares it's being traced */
      13: #define PT_READ_I   1   /* read word in child's I space */
      14: #define PT_READ_D   2   /* read word in child's D space */
      15: #define PT_READ_U   3   /* read word in child's user structure */
      16: #define PT_WRITE_I  4   /* write word in child's I space */
      17: #define PT_WRITE_D  5   /* write word in child's D space */
      18: #define PT_WRITE_U  6   /* write word in child's user structure */
      19: #define PT_CONTINUE 7   /* continue the child */
      20: #define PT_KILL     8   /* kill the child process */
      21: #define PT_STEP     9   /* single step the child */
      22:
      23: #endif

#### Defined macros

PT_CONTINUE defined in line 19; used 2 times

- in /usr/src/bin/adb/pcs.c line 96, 111

PT_KILL defined in line 20; used 1 times

- in /usr/src/bin/adb/runpcs.c line 81

PT_READ_D defined in line 14; used 1 times

- in /usr/src/bin/adb/access.c line 55

PT_READ_I defined in line 13; used 2 times

- in /usr/src/bin/adb/access.c line 55
- in /usr/src/bin/adb/runpcs.c line 223

PT_READ_U defined in line 15; used 3 times

- in /usr/src/bin/adb/runpcs.c line 272, 279, 295

PT_STEP defined in line 21; used 2 times

- in /usr/src/bin/adb/pcs.c line 101
- in /usr/src/bin/adb/runpcs.c line 119

PT_TRACE_ME defined in line 12; used 1 times

- in /usr/src/bin/adb/runpcs.c line 95

PT_WRITE_D defined in line 17; used 1 times

- in /usr/src/bin/adb/access.c line 55

PT_WRITE_I defined in line 16; used 5 times

- in /usr/src/bin/adb/access.c line 55
- in /usr/src/bin/adb/runpcs.c line 117-121(2), 190, 224

PT_WRITE_U defined in line 18; used 2 times

- in /usr/src/bin/adb/command.c line 179
- in /usr/src/bin/adb/runpcs.c line 199

_PTRACE_ defined in line 10; used 1 times

- in line 9

#### Usage of this include

ptrace.h used 2 times

- in /usr/src/bin/adb/defs.h line 20
- in /usr/src/sys/sys/sys_process.c line 20

Last modified: 1987-05-16 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 649 |