VirtualBox

Changeset 2169 in vbox for trunk/src


Ignore:
Timestamp:
Apr 18, 2007 1:03:15 PM (18 years ago)
Author:
vboxsync
Message:

Intercept X86_TRAP_DB if single stepping is enabled.

File:
1 edited

Legend:

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

    r2166 r2169  
    478478     * - KernelGSBase
    479479     */
     480
     481#ifdef DEBUG
     482    /* Intercept X86_TRAP_DB if stepping is enabled */
     483    if (DBGFIsStepping(pVM))
     484        pVMCB->ctrl.u32InterceptException |=  BIT(1);
     485    else
     486        pVMCB->ctrl.u32InterceptException &= ~BIT(1);
     487#endif
    480488
    481489    /* Done. */
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