1 /* @(#)ptrace.h 1.1 86/07/07 SMI */
4 * Copyright (c) 1985 by Sun Microsystems, Inc.
10 01a,05jun90,llk borrowed.
17 * Request values for the ptrace system call
20 PTRACE_TRACEME
= 0, /* 0, by tracee to begin tracing */
21 PTRACE_CHILDDONE
= 0, /* 0, tracee is done with his half */
22 PTRACE_PEEKTEXT
, /* 1, read word from text segment */
23 PTRACE_PEEKDATA
, /* 2, read word from data segment */
24 PTRACE_PEEKUSER
, /* 3, read word from user struct */
25 PTRACE_POKETEXT
, /* 4, write word into text segment */
26 PTRACE_POKEDATA
, /* 5, write word into data segment */
27 PTRACE_POKEUSER
, /* 6, write word into user struct */
28 PTRACE_CONT
, /* 7, continue process */
29 PTRACE_KILL
, /* 8, terminate process */
30 PTRACE_SINGLESTEP
, /* 9, single step process */
31 PTRACE_ATTACH
, /* 10, attach to an existing process */
32 PTRACE_DETACH
, /* 11, detach from a process */
33 PTRACE_GETREGS
, /* 12, get all registers */
34 PTRACE_SETREGS
, /* 13, set all registers */
35 PTRACE_GETFPREGS
, /* 14, get all floating point regs */
36 PTRACE_SETFPREGS
, /* 15, set all floating point regs */
37 PTRACE_READDATA
, /* 16, read data segment */
38 PTRACE_WRITEDATA
, /* 17, write data segment */
39 PTRACE_READTEXT
, /* 18, read text segment */
40 PTRACE_WRITETEXT
, /* 19, write text segment */
41 PTRACE_GETFPAREGS
, /* 20, get all fpa regs */
42 PTRACE_SETFPAREGS
/* 21, set all fpa regs */
This page took 0.030883 seconds and 4 git commands to generate.