VirtualBox

Changeset 21258 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Jul 6, 2009 3:15:27 PM (16 years ago)
Author:
vboxsync
Message:

Hypervisor debugging fixes

Location:
trunk/src/VBox/VMM/VMMR0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp

    r21257 r21258  
    851851#ifdef DEBUG
    852852    /* Intercept X86_XCPT_DB if stepping is enabled */
    853     if (DBGFIsStepping(pVCpu))
     853    if (    DBGFIsStepping(pVCpu)
     854        ||  CPUMIsHyperDebugStateActive(pVCpu))
    854855        pVMCB->ctrl.u32InterceptException |=  RT_BIT(X86_XCPT_DB);
    855856    else
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r21257 r21258  
    11321132#ifdef DEBUG /* till after branching, enable it by default then. */
    11331133    /* Intercept X86_XCPT_DB if stepping is enabled */
    1134     if (DBGFIsStepping(pVCpu))
     1134    if (    DBGFIsStepping(pVCpu)
     1135        ||  CPUMIsHyperDebugStateActive(pVCpu))
    11351136        u32TrapMask |= RT_BIT(X86_XCPT_DB);
    11361137    /** @todo Don't trap it unless the debugger has armed breakpoints.  */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette