Permalink
Browse files

Update PTRACE_* constants

* process.c (ptrace_cmds): Add PTRACE_GETREGSET and PTRACE_SETREGSET.
  • Loading branch information...
1 parent 50e69cb commit bb668a57b41f717e7b2c8664997c979de1079c23 @ldv-alt ldv-alt committed Mar 14, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 process.c
View
6 process.c
@@ -2267,6 +2267,12 @@ static const struct xlat ptrace_cmds[] = {
# ifdef PTRACE_SETSIGINFO
{ PTRACE_SETSIGINFO, "PTRACE_SETSIGINFO", },
# endif
+# ifdef PTRACE_GETREGSET
+ { PTRACE_GETREGSET, "PTRACE_GETREGSET", },
+# endif
+# ifdef PTRACE_SETREGSET
+ { PTRACE_SETREGSET, "PTRACE_SETREGSET", },
+# endif
# ifdef PTRACE_SET_SYSCALL
{ PTRACE_SET_SYSCALL, "PTRACE_SET_SYSCALL", },
# endif

0 comments on commit bb668a5

Please sign in to comment.