Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Define LW_DBGSUSPEND in sys/lwp.h
details: https://anonhg.NetBSD.org/src/rev/b0393b78e247
branches: trunk
changeset: 965846:b0393b78e247
user: kamil <kamil%NetBSD.org@localhost>
date: Thu Oct 03 22:26:43 2019 +0000
description:
Define LW_DBGSUSPEND in sys/lwp.h
This flag specifies the suspended by debugger property, as used by
PT_SUSPEND in ptrace(2).
diffstat:
sys/sys/lwp.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 7dd5c66c95da -r b0393b78e247 sys/sys/lwp.h
--- a/sys/sys/lwp.h Thu Oct 03 22:16:52 2019 +0000
+++ b/sys/sys/lwp.h Thu Oct 03 22:26:43 2019 +0000
@@ -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 @@
#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 */
Home |
Main Index |
Thread Index |
Old Index