ptrace: print data argument of PTRACE_SEIZE et al requests as flags
* process.c (SYS_FUNC(ptrace)): Print data argument of
PTRACE_SEIZE and PTRACE_OLDSETOPTIONS as PTRACE_O_* flags.
diff --git a/process.c b/process.c
index b61d354..5133865 100644
--- a/process.c
+++ b/process.c
@@ -183,7 +183,11 @@
#endif
printsignal(data);
break;
+ case PTRACE_SEIZE:
case PTRACE_SETOPTIONS:
+#ifdef PTRACE_OLDSETOPTIONS
+ case PTRACE_OLDSETOPTIONS:
+#endif
printflags(ptrace_setoptions_flags, data, "PTRACE_O_???");
break;
case PTRACE_SETSIGINFO: