VirtualBox

Changeset 2172 in vbox for trunk


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

Wrong dr6

File:
1 edited

Legend:

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

    r2169 r2172  
    480480
    481481#ifdef DEBUG
    482     /* Intercept X86_TRAP_DB if stepping is enabled */
     482    /* Intercept X86_XCPT_DB if stepping is enabled */
    483483    if (DBGFIsStepping(pVM))
    484484        pVMCB->ctrl.u32InterceptException |=  BIT(1);
     
    834834#ifdef DEBUG
    835835        case X86_XCPT_DB:
    836             rc = DBGFR0Trap01Handler(pVM, CPUMCTX2CORE(pCtx), pCtx->dr6);
     836            rc = DBGFR0Trap01Handler(pVM, CPUMCTX2CORE(pCtx), pVMCB->guest.u64DR6);
    837837            Assert(rc != VINF_EM_RAW_GUEST_TRAP);
    838838            break;
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