VirtualBox

Changeset 42834 in vbox for trunk/src


Ignore:
Timestamp:
Aug 16, 2012 12:23:20 AM (12 years ago)
Author:
vboxsync
Message:

dbgfR3BpInit: initialize DBGFCPU::iActiveBp to ~0U for all cpus. This
ensures that when we hit our first non-hardware breakpoint
DBGFR3EventBreakpoint will be on the right track.

XXX: I'm not sure if here is the right place to do it, but it looks
most suitable.

File:
1 edited

Legend:

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

    r41965 r42834  
    8282    }
    8383
     84    for (VMCPUID idCpu = 0; idCpu < pVM->cCpus; idCpu++)
     85    {
     86        PVMCPU pVCpu = &pVM->aCpus[idCpu];
     87        pVCpu->dbgf.s.iActiveBp = ~0U;
     88    }
     89
    8490    /*
    8591     * Register saved state.
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