VirtualBox

Changeset 35607 in vbox for trunk/src


Ignore:
Timestamp:
Jan 18, 2011 2:08:06 PM (14 years ago)
Author:
vboxsync
Message:

DBGFReg: bugfix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/DBGFReg.cpp

    r35606 r35607  
    860860    AssertMsgReturn(enmReg >= DBGFREG_AL && enmReg <= DBGFREG_END, ("%d\n", enmReg), VERR_INVALID_PARAMETER);
    861861
    862     bool const fGuestRegs = idCpu & DBGFREG_HYPER_VMCPUID;
     862    bool const fGuestRegs = !(idCpu & DBGFREG_HYPER_VMCPUID);
    863863    idCpu &= ~DBGFREG_HYPER_VMCPUID;
    864864    AssertReturn(idCpu < pVM->cCpus, VERR_INVALID_CPU_ID);
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