# 2.11BSD#431 - /usr/src/lib/libc/pdp/sys/ptrace.s

##### Functions

    _ptrace           X

       1: /*
       2:  * Copyright (c) 1987 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:
       7: #ifdef SYSLIBC_SCCS
       8: _sccsid: <@(#)ptrace.s	2.6 (2.11BSD GTE) 1995/05/08\0>
       9:         .even
      10: #endif SYSLIBC_SCCS
      11:
      12: #include "SYS.h"
      13:
      14: ENTRY(ptrace)
      15:         clr     _errno          / -1 is a legitimate return value so we must
      16:         SYS(ptrace)             /   clear errno so the caller may
          /
          /   trap 26 -> [kernel] -> syscall() -> via sysent[] -> handler: ptrace
          /
      17:         bes     error           /   disambiguate
      18:         rts     pc
      19: error:
      20:         jmp     x_error

#### Defined functions

_ptrace defined in line 14; used 42 times

- in /usr/src/bin/adb/access.c line 64-66(2)
- in /usr/src/bin/adb/command.c line 179
- in /usr/src/bin/adb/runpcs.c line 56, 81, 95, 117-121(3), 190, 199, 223-224(2), 272, 279, 295
- in /usr/src/ucb/PORT/pascal/pdx/process/ptrace.c line 53, 93, 143, 163, 262-279(9), 298-320(7), 435, 449, 456-459(2), 488, 499

_sccsid defined in line 8; never used
error defined in line 19; used 1 times

- in line 17

Last modified: 1995-05-09 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 452 |