svn commit: r319869 - head/tools/test/ptrace

Konstantin Belousov kib at FreeBSD.org
Mon Jun 12 20:42:17 UTC 2017


Author: kib
Date: Mon Jun 12 20:42:16 2017
New Revision: 319869
URL: https://svnweb.freebsd.org/changeset/base/319869

Log:
  Decode recently added flags.
  
  Sponsored by:	The FreeBSD Foundation
  MFC after:	3 days

Modified:
  head/tools/test/ptrace/scescx.c

Modified: head/tools/test/ptrace/scescx.c
==============================================================================
--- head/tools/test/ptrace/scescx.c	Mon Jun 12 20:14:44 2017	(r319868)
+++ head/tools/test/ptrace/scescx.c	Mon Jun 12 20:42:16 2017	(r319869)
@@ -97,6 +97,11 @@ decode_pl_flags(struct ptrace_lwpinfo *lwpinfo)
 		{ PL_FLAG_EXEC, "EXEC" },
 		{ PL_FLAG_SI, "SI" },
 		{ PL_FLAG_FORKED, "FORKED" },
+		{ PL_FLAG_CHILD, "CHILD" },
+		{ PL_FLAG_BORN, "LWPBORN" },
+		{ PL_FLAG_EXITED, "LWPEXITED" },
+		{ PL_FLAG_VFORKED, "VFORKED" },
+		{ PL_FLAG_VFORK_DONE, "VFORKDONE" },
 	};
 	char de[32];
 	unsigned first, flags, i;


More information about the svn-src-all mailing list