summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/microblaze/sys/ptrace.h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-21 17:00:38 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-21 17:00:38 +0200
commit57f820bab9108550907f03828d61525c833004a4 (patch)
tree69f4c25d751ab0bcb3989eefdd830b7ab514d641 /libc/sysdeps/linux/microblaze/sys/ptrace.h
parentf1d7505e40654a185843bdc8f1cf1fd00ab55c04 (diff)
microblaze: fixup headers to make gdb compile happy
Add some definitions and fix some types to make gdb compile happy.
Diffstat (limited to 'libc/sysdeps/linux/microblaze/sys/ptrace.h')
-rw-r--r--libc/sysdeps/linux/microblaze/sys/ptrace.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/microblaze/sys/ptrace.h b/libc/sysdeps/linux/microblaze/sys/ptrace.h
index a81f97162..f09ce25e9 100644
--- a/libc/sysdeps/linux/microblaze/sys/ptrace.h
+++ b/libc/sysdeps/linux/microblaze/sys/ptrace.h
@@ -68,6 +68,26 @@ enum __ptrace_request
PTRACE_SINGLESTEP = 9,
#define PT_STEP PTRACE_SINGLESTEP
+ /* Get all general purpose registers used by a processes.
+ This is not supported on all machines. */
+ PTRACE_GETREGS = 12,
+#define PT_GETREGS PTRACE_GETREGS
+
+ /* Set all general purpose registers used by a processes.
+ This is not supported on all machines. */
+ PTRACE_SETREGS = 13,
+#define PT_SETREGS PTRACE_SETREGS
+
+ /* Get all floating point registers used by a processes.
+ This is not supported on all machines. */
+ PTRACE_GETFPREGS = 14,
+#define PT_GETFPREGS PTRACE_GETFPREGS
+
+ /* Set all floating point registers used by a processes.
+ This is not supported on all machines. */
+ PTRACE_SETFPREGS = 15,
+#define PT_SETFPREGS PTRACE_SETFPREGS
+
/* Attach to a process that is already running. */
PTRACE_ATTACH = 16,
#define PT_ATTACH PTRACE_ATTACH