Changeset 41906 in vbox for trunk/src/VBox/VMM/VMMRZ
- Timestamp:
- Jun 24, 2012 3:44:03 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 78759
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMRZ/DBGFRZ.cpp
r41823 r41906 46 46 { 47 47 #ifdef IN_RC 48 const bool fInHyper = !(pRegFrame->ss & X86_SEL_RPL) && !pRegFrame->eflags.Bits.u1VM;48 const bool fInHyper = !(pRegFrame->ss.Sel & X86_SEL_RPL) && !pRegFrame->eflags.Bits.u1VM; 49 49 #else 50 50 const bool fInHyper = false; … … 66 66 pVCpu->dbgf.s.fSingleSteppingRaw = false; 67 67 LogFlow(("DBGFRZTrap03Handler: hit hw breakpoint %d at %04x:%RGv\n", 68 pVM->dbgf.s.aHwBreakpoints[iBp].iBp, pRegFrame->cs , pRegFrame->rip));68 pVM->dbgf.s.aHwBreakpoints[iBp].iBp, pRegFrame->cs.Sel, pRegFrame->rip)); 69 69 70 70 return fInHyper ? VINF_EM_DBG_HYPER_BREAKPOINT : VINF_EM_DBG_BREAKPOINT; … … 81 81 { 82 82 pVCpu->dbgf.s.fSingleSteppingRaw = false; 83 LogFlow(("DBGFRZTrap01Handler: single step at %04x:%RGv\n", pRegFrame->cs , pRegFrame->rip));83 LogFlow(("DBGFRZTrap01Handler: single step at %04x:%RGv\n", pRegFrame->cs.Sel, pRegFrame->rip)); 84 84 return fInHyper ? VINF_EM_DBG_HYPER_STEPPED : VINF_EM_DBG_STEPPED; 85 85 } … … 91 91 */ 92 92 AssertMsg(uDr6 & X86_DR6_BS, ("hey! we're not doing guest BPs yet! dr6=%RTreg %04x:%RGv\n", 93 uDr6, pRegFrame->cs , pRegFrame->rip));93 uDr6, pRegFrame->cs.Sel, pRegFrame->rip)); 94 94 #endif 95 95 96 LogFlow(("DBGFRZTrap01Handler: guest debug event %RTreg at %04x:%RGv!\n", uDr6, pRegFrame->cs , pRegFrame->rip));96 LogFlow(("DBGFRZTrap01Handler: guest debug event %RTreg at %04x:%RGv!\n", uDr6, pRegFrame->cs.Sel, pRegFrame->rip)); 97 97 return fInHyper ? VERR_DBGF_HYPER_DB_XCPT : VINF_EM_RAW_GUEST_TRAP; 98 98 } … … 113 113 { 114 114 #ifdef IN_RC 115 const bool fInHyper = !(pRegFrame->ss & X86_SEL_RPL) && !pRegFrame->eflags.Bits.u1VM;115 const bool fInHyper = !(pRegFrame->ss.Sel & X86_SEL_RPL) && !pRegFrame->eflags.Bits.u1VM; 116 116 #else 117 117 const bool fInHyper = false; … … 125 125 { 126 126 RTGCPTR pPc; 127 int rc = SELMValidateAndConvertCSAddr(pVCpu, pRegFrame->eflags, pRegFrame->ss , pRegFrame->cs, &pRegFrame->csHid,127 int rc = SELMValidateAndConvertCSAddr(pVCpu, pRegFrame->eflags, pRegFrame->ss.Sel, pRegFrame->cs.Sel, &pRegFrame->cs, 128 128 #ifdef IN_RC 129 129 pRegFrame->eip - 1, … … 143 143 144 144 LogFlow(("DBGFRZTrap03Handler: hit breakpoint %d at %RGv (%04x:%RGv) cHits=0x%RX64\n", 145 pVM->dbgf.s.aBreakpoints[iBp].iBp, pPc, pRegFrame->cs , pRegFrame->rip,145 pVM->dbgf.s.aBreakpoints[iBp].iBp, pPc, pRegFrame->cs.Sel, pRegFrame->rip, 146 146 pVM->dbgf.s.aBreakpoints[iBp].cHits)); 147 147 return fInHyper
Note:
See TracChangeset
for help on using the changeset viewer.