- Timestamp:
- Mar 2, 2007 2:40:01 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMGC/DBGFGC.cpp
r23 r1161 46 46 DBGFGCDECL(int) DBGFGCTrap01Handler(PVM pVM, PCPUMCTXCORE pRegFrame, RTUINTREG uDr6) 47 47 { 48 const bool fInHyper = !(pRegFrame->ss & X86_SEL_RPL) ;48 const bool fInHyper = !(pRegFrame->ss & X86_SEL_RPL) && !pRegFrame->eflags.Bits.u1VM; 49 49 50 50 /* … … 128 128 pVM->dbgf.s.aBreakpoints[iBp].iBp, pPc, pRegFrame->cs, pRegFrame->eip, 129 129 pVM->dbgf.s.aBreakpoints[iBp].cHits)); 130 return !(pRegFrame->ss & X86_SEL_RPL)130 return (!(pRegFrame->ss & X86_SEL_RPL) && !pRegFrame->eflags.Bits.u1VM) 131 131 ? VINF_EM_DBG_HYPER_BREAKPOINT 132 132 : VINF_EM_DBG_BREAKPOINT; … … 135 135 } 136 136 137 return !(pRegFrame->ss & X86_SEL_RPL)137 return (!(pRegFrame->ss & X86_SEL_RPL) && !pRegFrame->eflags.Bits.u1VM) 138 138 ? VINF_EM_DBG_HYPER_ASSERTION 139 139 : VINF_EM_RAW_GUEST_TRAP;
Note:
See TracChangeset
for help on using the changeset viewer.