OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [gdb/] [vx-share/] [ptrace.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 106 markom
/*      @(#)ptrace.h 1.1 86/07/07 SMI   */
2
 
3
/*
4
 * Copyright (c) 1985 by Sun Microsystems, Inc.
5
 */
6
 
7
/*
8
modification history
9
--------------------
10
01a,05jun90,llk  borrowed.
11
*/
12
 
13
#ifndef _PTRACE_
14
#define _PTRACE_
15
 
16
/*
17
 * Request values for the ptrace system call
18
 */
19
enum ptracereq {
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 */
43
};
44
#endif !_PTRACE

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.