DBGP_WPHIT	EQU	0001H  
DBGP_EXELOAD	EQU	0002H  
DBGP_ISADBGER	EQU	0010H  
DBGP_LINKED	EQU	0020H  
DBGP_TREE	EQU	0040H  
DBGP_INIT	EQU	0100H  
DBGP_ASYNC	EQU	0200H  
DBGP_PANIC	EQU	0400H  
DBGP_HOLD	EQU	0800H  
DBGP_MANUALTERM	EQU	1000H  
DBGP_ABORTALL	EQU	2000H  
DBGP_SSTEP	EQU	4000H  
DBGP_RANGESTEP	EQU	8000H  
DBGP_XCPTPENDING	EQU	10000H 
DBGP_DEBUG	EQU	40000000H  /* DOSDEBUG being used */                  
DBGP_PTRACE	EQU	80000000H  /* DOSPTRACE being used */                 
DBGP_ALLDONE	EQU	(DBGP_MANUALTERM  OR  DBGP_ABORTALL) 
DBGP_ASYNC_MASK	EQU	( NOT (DBGP_LINKED  OR  DBGP_HOLD  OR  DBGP_DEBUG  OR  DBGP_PTRACE))
DBGT_LIBLOAD	EQU	0001H 
DBGT_FROZEN	EQU	0002H 
DBGT_FREEZING	EQU	0004H 
DBGT_SSTEP	EQU	0008H 
DBGT_DEAD	EQU	0010H 
DBGT_CREATE	EQU	0020H 
DBGT_LIBFREE	EQU	0040H 
DBGT_XCHGOP	EQU	0080H 
DBGT_NOTIFIED	EQU	0100H 
DBGT_XCPTHANDLED	EQU	0200H 
DBGT_XCPTSTOP	EQU	0400H 
DBGT_SEMOWNER	EQU	0800H 
DBGT_INDIRECT	EQU	(DBGT_LIBLOAD  OR  DBGT_FROZEN  OR  DBGT_SSTEP  OR  DBGT_CREATE                         OR  DBGT_LIBFREE)
DBGS_SEVER	EQU	0000H 
DBGS_NO_SEVER	EQU	0001H 
DBGS_NOSEVER_MSG_OFF	EQU	0000H 
DBGS_NOSEVER_MSG_ON	EQU	0001H 

DCB_s	STRUC
pdcbNext	DD	?
pptdaDbgee	DD	?
pkDB	DD	?
lDbgeePid	DD	?
lDbgerPid	DD	?
sActiveTid	DW	?
sRefer	DW	?
flState	DD	?
hKSEMdbger	DB	SIZE PKSEMMTX DUP (?)
sFrozen	DW	?
sDbgerSStepTCB	DD	?
sDbgeeSStepTCB	DD	?
dcb_clwpcb	DD	?
dcb_lDR7local	DD	?
dcb_alDRladdr	DD	DR_COUNT DUP (?)
dcb_aplwpcb	DD	DR_COUNT DUP (?)
flSever	DW	?
flNoSever_Rpt	DW	?
DCB_s	ENDS

dcb_alDRladdr0  equ     dcb_alDRladdr+00h
dcb_alDRladdr1  equ     dcb_alDRladdr+04h
dcb_alDRladdr2  equ     dcb_alDRladdr+08h
dcb_alDRladdr3  equ     dcb_alDRladdr+0ch
DBGDR6IMAGE_ENTERKMODE	EQU	80000000H 
DBG_LOADDLL	EQU	0 
DBG_FREEDLL	EQU	1 

dbgvdm_s	STRUC
dbgv_cdr	DD	?
dbgv_adr	DD	DR_COUNT DUP (?)
dbgv_dr6	DD	?
dbgv_dr7	DD	?
dbgv_mpiwpidr	DB	DR_COUNT DUP (?)
dbgvdm_s	ENDS

f_ENTERCRIT	EQU	0001H              
f_EXITCRIT	EQU	0002H 
f_SEMWAKE	EQU	0004H 
