summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel/sys/pcb.h
diff options
context:
space:
mode:
authorRoger A. Faulkner <Roger.Faulkner@Sun.COM>2009-07-31 10:26:44 -0700
committerRoger A. Faulkner <Roger.Faulkner@Sun.COM>2009-07-31 10:26:44 -0700
commit07a48826732249fcd3aa8dd53c8389595e9f1fbc (patch)
tree9db32b459d29d00f49aaf604edbbc664d387e4b9 /usr/src/uts/intel/sys/pcb.h
parent93ac9c62aa5abd71c47ddde4d21c95390232aad1 (diff)
downloadillumos-joyent-07a48826732249fcd3aa8dd53c8389595e9f1fbc.tar.gz
6338698 Application deadlocks on an lwpchan lock when a watchpoint is enabled on a thread stack
Diffstat (limited to 'usr/src/uts/intel/sys/pcb.h')
-rw-r--r--usr/src/uts/intel/sys/pcb.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/uts/intel/sys/pcb.h b/usr/src/uts/intel/sys/pcb.h
index ebc3b4e222..ec5dea501c 100644
--- a/usr/src/uts/intel/sys/pcb.h
+++ b/usr/src/uts/intel/sys/pcb.h
@@ -18,16 +18,15 @@
*
* CDDL HEADER END
*/
+
/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_PCB_H
#define _SYS_PCB_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/regset.h>
#include <sys/segments.h>
@@ -63,6 +62,7 @@ typedef struct pcb {
/* pcb_flags */
#define DEBUG_PENDING 0x02 /* single-step of lcall for a sys call */
+#define PRSTOP_CALLED 0x04 /* prstop() has been called for this lwp */
#define INSTR_VALID 0x08 /* value in pcb_instr is valid (/proc) */
#define NORMAL_STEP 0x10 /* normal debugger-requested single-step */
#define WATCH_STEP 0x20 /* single-stepping in watchpoint emulation */