Changeset 8793 in vbox
- Timestamp:
- May 13, 2008 5:38:29 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMGC/DBGFGC.cpp
r8155 r8793 24 24 * Header Files * 25 25 *******************************************************************************/ 26 #define LOG_GROUP LOG_GROUP_DBGF 26 27 #include <VBox/dbgf.h> 27 28 #include <VBox/selm.h> … … 56 57 { 57 58 Assert(X86_DR6_B0 == 1 && X86_DR6_B1 == 2 && X86_DR6_B2 == 4 && X86_DR6_B3 == 8); 58 for (unsigned iBp = 0; iBp < ELEMENTS(pVM->dbgf.s.aHwBreakpoints); iBp++)59 for (unsigned iBp = 0; iBp < RT_ELEMENTS(pVM->dbgf.s.aHwBreakpoints); iBp++) 59 60 { 60 61 if ( (uDr6 & RT_BIT(iBp)) … … 115 116 RTGCPTR pPc; 116 117 int rc = SELMValidateAndConvertCSAddr(pVM, pRegFrame->eflags, pRegFrame->ss, pRegFrame->cs, &pRegFrame->csHid, 117 (RTGCPTR)((RTGCUINTPTR)pRegFrame->eip - 1), 118 (RTGCPTR)((RTGCUINTPTR)pRegFrame->eip - 1), 118 119 &pPc); 119 120 AssertRCReturn(rc, rc); 120 121 121 for (unsigned iBp = 0; iBp < ELEMENTS(pVM->dbgf.s.aBreakpoints); iBp++)122 for (unsigned iBp = 0; iBp < RT_ELEMENTS(pVM->dbgf.s.aBreakpoints); iBp++) 122 123 { 123 124 if ( pVM->dbgf.s.aBreakpoints[iBp].GCPtr == (RTGCUINTPTR)pPc
Note:
See TracChangeset
for help on using the changeset viewer.