1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00

Update ptrace constants

This commit is contained in:
Ulrich Drepper
2011-07-23 19:10:18 -04:00
parent 9191c04a7e
commit cbff0d9689
6 changed files with 150 additions and 8 deletions

View File

@ -1,5 +1,5 @@
/* `ptrace' debugger support interface. Linux/SPARC version.
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2006, 2007
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2006, 2007, 2011
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@ -181,6 +181,33 @@ enum __ptrace_request
/* Set new siginfo for process. */
PTRACE_SETSIGINFO = 0x4203
#define PT_SETSIGINFO PTRACE_SETSIGINFO
/* Get register content. */
PTRACE_GETREGSET = 0x4204,
#define PTRACE_GETREGSET PTRACE_GETREGSET
/* Set register content. */
PTRACE_SETREGSET = 0x4205,
#define PTRACE_SETREGSET PTRACE_SETREGSET
/* Like PTRACE_ATTACH, but do not force tracee to trap and do not affect
signal or group stop state. */
PTRACE_SEIZE = 0x4206,
#define PTRACE_SEIZE PTRACE_SEIZE
/* Trap seized tracee. */
PTRACE_INTERRUPT = 0x4207,
#define PTRACE_INTERRUPT PTRACE_INTERRUPT
/* Wait for next group event. */
PTRACE_LISTEN = 0x4208
};
/* Flag for PTRACE_LISTEN. */
enum __ptrace_flags
{
PTRACE_SEIZE_DEVEL = 0x80000000
};
/* Options set using PTRACE_SETOPTIONS. */