VirtualBox

Changeset 8793 in vbox


Ignore:
Timestamp:
May 13, 2008 5:38:29 PM (17 years ago)
Author:
vboxsync
Message:

Log group.

File:
1 edited

Legend:

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

    r8155 r8793  
    2424*   Header Files                                                               *
    2525*******************************************************************************/
     26#define LOG_GROUP LOG_GROUP_DBGF
    2627#include <VBox/dbgf.h>
    2728#include <VBox/selm.h>
     
    5657    {
    5758        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++)
    5960        {
    6061            if (    (uDr6 & RT_BIT(iBp))
     
    115116        RTGCPTR pPc;
    116117        int rc = SELMValidateAndConvertCSAddr(pVM, pRegFrame->eflags, pRegFrame->ss, pRegFrame->cs, &pRegFrame->csHid,
    117                                               (RTGCPTR)((RTGCUINTPTR)pRegFrame->eip - 1),                                             
     118                                              (RTGCPTR)((RTGCUINTPTR)pRegFrame->eip - 1),
    118119                                              &pPc);
    119120        AssertRCReturn(rc, rc);
    120121
    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++)
    122123        {
    123124            if (    pVM->dbgf.s.aBreakpoints[iBp].GCPtr == (RTGCUINTPTR)pPc
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