diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-11-29 07:30:00 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-11-29 07:30:00 +0000 |
commit | 06522d7e9919fe1c151f3b706daa8b00034a3f88 (patch) | |
tree | 825a5c6ae3f559e2ced88da8846fbc5fe9d4b15e /sysdeps/unix/sysv/linux/ia64/sys/ptrace.h | |
parent | c5af724c0b214a517f8558887f7a70efcfa2c813 (diff) | |
download | glibc-06522d7e9919fe1c151f3b706daa8b00034a3f88.tar.gz glibc-06522d7e9919fe1c151f3b706daa8b00034a3f88.tar.xz glibc-06522d7e9919fe1c151f3b706daa8b00034a3f88.zip |
Update.
2003-10-09 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/ia64/fpu/fraiseexcpt.c: Don't include <asm/fpu.h>. 2003-10-08 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Don't include <asm/fpu.h>. (struct ia64_fpreg): New definition. * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Don't include <asm/elf.h>. (ELF_NGREG): New. (ELF_NFPREG): Likewise. (elf_greg_t): Likewise. (elf_gregset_t): Likewise. (elf_fpreg_t): Likewise. (elf_fpregset_t): Likewise. 2003-10-08 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Include <sys/ucontext.h>. (__ptrace_request): Add PTRACE_GETREGS and PTRACE_SETREGS. (pt_all_user_regs): New.
Diffstat (limited to 'sysdeps/unix/sysv/linux/ia64/sys/ptrace.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/ia64/sys/ptrace.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/ia64/sys/ptrace.h b/sysdeps/unix/sysv/linux/ia64/sys/ptrace.h index de1f0af6b6..986c4b2d33 100644 --- a/sysdeps/unix/sysv/linux/ia64/sys/ptrace.h +++ b/sysdeps/unix/sysv/linux/ia64/sys/ptrace.h @@ -21,6 +21,7 @@ #define _SYS_PTRACE_H 1 #include <features.h> +#include <sys/ucontext.h> __BEGIN_DECLS @@ -90,11 +91,34 @@ enum __ptrace_request PTRACE_DETACH = 17, #define PT_DETACH PTRACE_DETACH + /* Get all registers (pt_all_user_regs) in one shot */ + PTRACE_GETREGS = 18, +#define PT_GETREGS PTRACE_GETREGS + + /* Set all registers (pt_all_user_regs) in one shot */ + PTRACE_SETREGS = 19, +#define PT_SETREGS PTRACE_SETREGS + /* Continue and stop at the next (return from) syscall. */ PTRACE_SYSCALL = 24 #define PT_SYSCALL PTRACE_SYSCALL }; +/* pt_all_user_regs is used for PTRACE_GETREGS/PTRACE_SETREGS. */ +struct pt_all_user_regs + { + unsigned long nat; + unsigned long cr_iip; + unsigned long cfm; + unsigned long cr_ipsr; + unsigned long pr; + + unsigned long gr[32]; + unsigned long br[8]; + unsigned long ar[128]; + struct ia64_fpreg fr[128]; + }; + /* Perform process tracing functions. REQUEST is one of the values above, and determines the action to be taken. For all requests except PTRACE_TRACEME, PID specifies the process to be |