From 07a48826732249fcd3aa8dd53c8389595e9f1fbc Mon Sep 17 00:00:00 2001 From: "Roger A. Faulkner" Date: Fri, 31 Jul 2009 10:26:44 -0700 Subject: 6338698 Application deadlocks on an lwpchan lock when a watchpoint is enabled on a thread stack --- usr/src/uts/intel/sys/pcb.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr/src/uts/intel/sys/pcb.h') 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 #include @@ -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 */ -- cgit v1.2.3