Module Name: src
Committed By: kamil
Date: Thu Oct 3 22:26:43 UTC 2019
Modified Files:
src/sys/sys: lwp.h
Log Message:
Define LW_DBGSUSPEND in sys/lwp.h
This flag specifies the suspended by debugger property, as used by
PT_SUSPEND in ptrace(2).
To generate a diff of this commit:
cvs rdiff -u -r1.186 -r1.187 src/sys/sys/lwp.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/sys/lwp.h
diff -u src/sys/sys/lwp.h:1.186 src/sys/sys/lwp.h:1.187
--- src/sys/sys/lwp.h:1.186 Wed Jun 19 21:39:53 2019
+++ src/sys/sys/lwp.h Thu Oct 3 22:26:43 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: lwp.h,v 1.186 2019/06/19 21:39:53 kamil Exp $ */
+/* $NetBSD: lwp.h,v 1.187 2019/10/03 22:26:43 kamil Exp $ */
/*
* Copyright (c) 2001, 2006, 2007, 2008, 2009, 2010
@@ -236,6 +236,7 @@ extern int maxlwp __read_mostly; /* max
#define LW_CVLOCKDEBUG 0x00000004 /* Waker does lockdebug */
#define LW_SINTR 0x00000080 /* Sleep is interruptible. */
#define LW_SYSTEM 0x00000200 /* Kernel thread */
+#define LW_DBGSUSPEND 0x00010000 /* Suspend by debugger */
#define LW_WSUSPEND 0x00020000 /* Suspend before return to user */
#define LW_BATCH 0x00040000 /* LWP tends to hog CPU */
#define LW_WCORE 0x00080000 /* Stop for core dump on return to user */