VirtualBox

Changeset 1161 in vbox for trunk


Ignore:
Timestamp:
Mar 2, 2007 2:40:01 PM (18 years ago)
Author:
vboxsync
Message:

Some more v86 corrections.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMGC/DBGFGC.cpp

    r23 r1161  
    4646DBGFGCDECL(int) DBGFGCTrap01Handler(PVM pVM, PCPUMCTXCORE pRegFrame, RTUINTREG uDr6)
    4747{
    48     const bool fInHyper = !(pRegFrame->ss & X86_SEL_RPL);
     48    const bool fInHyper = !(pRegFrame->ss & X86_SEL_RPL) && !pRegFrame->eflags.Bits.u1VM;
    4949
    5050    /*
     
    128128                         pVM->dbgf.s.aBreakpoints[iBp].iBp, pPc, pRegFrame->cs, pRegFrame->eip,
    129129                         pVM->dbgf.s.aBreakpoints[iBp].cHits));
    130                 return !(pRegFrame->ss & X86_SEL_RPL)
     130                return (!(pRegFrame->ss & X86_SEL_RPL) && !pRegFrame->eflags.Bits.u1VM)
    131131                    ? VINF_EM_DBG_HYPER_BREAKPOINT
    132132                    : VINF_EM_DBG_BREAKPOINT;
     
    135135    }
    136136
    137     return !(pRegFrame->ss & X86_SEL_RPL)
     137    return (!(pRegFrame->ss & X86_SEL_RPL) && !pRegFrame->eflags.Bits.u1VM)
    138138        ? VINF_EM_DBG_HYPER_ASSERTION
    139139        : VINF_EM_RAW_GUEST_TRAP;
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