diff options
author | Roger A. Faulkner <Roger.Faulkner@Sun.COM> | 2009-07-31 10:26:44 -0700 |
---|---|---|
committer | Roger A. Faulkner <Roger.Faulkner@Sun.COM> | 2009-07-31 10:26:44 -0700 |
commit | 07a48826732249fcd3aa8dd53c8389595e9f1fbc (patch) | |
tree | 9db32b459d29d00f49aaf604edbbc664d387e4b9 /usr/src/uts/sparc/sys/pcb.h | |
parent | 93ac9c62aa5abd71c47ddde4d21c95390232aad1 (diff) | |
download | illumos-gate-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/sparc/sys/pcb.h')
-rw-r--r-- | usr/src/uts/sparc/sys/pcb.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/usr/src/uts/sparc/sys/pcb.h b/usr/src/uts/sparc/sys/pcb.h index 7ac9a68504..67653707c1 100644 --- a/usr/src/uts/sparc/sys/pcb.h +++ b/usr/src/uts/sparc/sys/pcb.h @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -19,16 +18,15 @@ * * CDDL HEADER END */ + /* - * Copyright 1990-2002 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> #ifdef __cplusplus @@ -55,6 +53,7 @@ typedef struct pcb { #endif /* ! _ASM */ /* pcb_flags */ +#define PRSTOP_CALLED 0x01 /* prstop() has been called for this lwp */ #define INSTR_VALID 0x02 /* value in pcb_instr is valid (/proc) */ #define NORMAL_STEP 0x04 /* normal debugger requested single-step */ #define WATCH_STEP 0x08 /* single-stepping in watchpoint emulation */ |