summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-07-23 19:10:18 -0400
committerUlrich Drepper <drepper@gmail.com>2011-07-23 19:10:18 -0400
commitcbff0d9689c4d68578b6a4f0a17807232506ea27 (patch)
tree94c92bb8b149a89cdf6fa18dda62e74276a72804 /sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
parent9191c04a7e19fffbea0a08523e579cd8e55142df (diff)
downloadglibc-cbff0d9689c4d68578b6a4f0a17807232506ea27.tar.gz
Update ptrace constants
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h29
1 files changed, 28 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h b/sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
index 23e75fbcff..18c6e09b91 100644
--- a/sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
+++ b/sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
@@ -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. */