Changeset 21258 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Jul 6, 2009 3:15:27 PM (16 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp
r21257 r21258 851 851 #ifdef DEBUG 852 852 /* Intercept X86_XCPT_DB if stepping is enabled */ 853 if (DBGFIsStepping(pVCpu)) 853 if ( DBGFIsStepping(pVCpu) 854 || CPUMIsHyperDebugStateActive(pVCpu)) 854 855 pVMCB->ctrl.u32InterceptException |= RT_BIT(X86_XCPT_DB); 855 856 else -
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r21257 r21258 1132 1132 #ifdef DEBUG /* till after branching, enable it by default then. */ 1133 1133 /* Intercept X86_XCPT_DB if stepping is enabled */ 1134 if (DBGFIsStepping(pVCpu)) 1134 if ( DBGFIsStepping(pVCpu) 1135 || CPUMIsHyperDebugStateActive(pVCpu)) 1135 1136 u32TrapMask |= RT_BIT(X86_XCPT_DB); 1136 1137 /** @todo Don't trap it unless the debugger has armed breakpoints. */
Note:
See TracChangeset
for help on using the changeset viewer.