mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-29 16:21:07 +00:00
Update ptrace constants
This commit is contained in:
parent
9191c04a7e
commit
cbff0d9689
@ -1,5 +1,11 @@
|
||||
2011-07-23 Ulrich Drepper <drepper@gmail.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
|
||||
* sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
|
||||
* sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
|
||||
* sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
|
||||
* sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
|
||||
|
||||
[BZ #13021]
|
||||
* scripts/test-installation.pl: Don't expect libnss_test1 to be
|
||||
installed.
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* `ptrace' debugger support interface. Linux/ia64 version.
|
||||
Copyright (C) 2001, 2006, 2007 Free Software Foundation, Inc.
|
||||
Copyright (C) 2001, 2006, 2007, 2011 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -110,6 +110,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
|
||||
};
|
||||
|
||||
/* pt_all_user_regs is used for PTRACE_GETREGS/PTRACE_SETREGS. */
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* `ptrace' debugger support interface. Linux version.
|
||||
Copyright (C) 2001, 2006, 2007 Free Software Foundation, Inc.
|
||||
Copyright (C) 2001, 2006, 2007, 2011 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -97,6 +97,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. */
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* `ptrace' debugger support interface. Linux version.
|
||||
Copyright (C) 2000, 2006, 2007 Free Software Foundation, Inc.
|
||||
Copyright (C) 2000, 2006, 2007, 2011 Free Software Foundation, Inc.
|
||||
Contributed by Denis Joseph Barrow (djbarrow@de.ibm.com).
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
@ -136,6 +136,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. */
|
||||
|
@ -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. */
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* `ptrace' debugger support interface. Linux version.
|
||||
Copyright (C) 1996-1999,2000,2006,2007 Free Software Foundation, Inc.
|
||||
Copyright (C) 1996-1999,2000,2006,2007,2011 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -125,13 +125,40 @@ enum __ptrace_request
|
||||
#define PT_GETSIGINFO PTRACE_GETSIGINFO
|
||||
|
||||
/* Set new siginfo for process. */
|
||||
PTRACE_SETSIGINFO = 0x4203
|
||||
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. */
|
||||
enum __ptrace_setoptions {
|
||||
enum __ptrace_setoptions
|
||||
{
|
||||
PTRACE_O_TRACESYSGOOD = 0x00000001,
|
||||
PTRACE_O_TRACEFORK = 0x00000002,
|
||||
PTRACE_O_TRACEVFORK = 0x00000004,
|
||||
@ -143,7 +170,8 @@ enum __ptrace_setoptions {
|
||||
};
|
||||
|
||||
/* Wait extended result codes for the above trace options. */
|
||||
enum __ptrace_eventcodes {
|
||||
enum __ptrace_eventcodes
|
||||
{
|
||||
PTRACE_EVENT_FORK = 1,
|
||||
PTRACE_EVENT_VFORK = 2,
|
||||
PTRACE_EVENT_CLONE = 3,
|
||||
|
Loading…
Reference in New Issue
Block a user