]> granicus.if.org Git - strace/commitdiff
Update PTRACE_* constants
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 14 Mar 2011 21:58:59 +0000 (21:58 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 14 Mar 2011 21:58:59 +0000 (21:58 +0000)
* process.c (ptrace_cmds): Add PTRACE_GETREGSET and PTRACE_SETREGSET.

process.c

index c6cd61f1bf3be25a5b61e9bfa1aa449e324004da..6c1aa6b6e7822173f1f5ed0b0caf54dbdf38afed 100644 (file)
--- a/process.c
+++ b/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