From 57f820bab9108550907f03828d61525c833004a4 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 21 Sep 2016 17:00:38 +0200 Subject: microblaze: fixup headers to make gdb compile happy Add some definitions and fix some types to make gdb compile happy. --- libc/sysdeps/linux/microblaze/sys/ptrace.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'libc/sysdeps/linux/microblaze/sys/ptrace.h') 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 -- cgit v1.2.3