VirtualBox

Changeset 90310 in vbox for trunk/src


Ignore:
Timestamp:
Jul 23, 2021 3:06:35 PM (4 years ago)
Author:
vboxsync
Message:

VMM/DBGFR3Bp: Only clear the active breakpoint iff the owner processed the breakpoint, the breakpoint handle is required when dropping into the debugger

File:
1 edited

Legend:

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

    r89925 r90310  
    26772677    {
    26782678        DBGFBP hBp = pVCpu->dbgf.s.hBpActive;
    2679         pVCpu->dbgf.s.hBpActive              = NIL_DBGFBP;
    26802679        pVCpu->dbgf.s.fBpInvokeOwnerCallback = false;
    26812680
     
    26912690                VBOXSTRICTRC rcStrict = dbgfR3BpHit(pVM, pVCpu, hBp, pBp, pBpOwner);
    26922691                if (VBOXSTRICTRC_VAL(rcStrict) == VINF_SUCCESS)
     2692                {
     2693                    pVCpu->dbgf.s.hBpActive = NIL_DBGFBP;
    26932694                    return VINF_SUCCESS;
     2695                }
    26942696                else if (VBOXSTRICTRC_VAL(rcStrict) != VINF_DBGF_BP_HALT) /* Guru meditation. */
    26952697                    return VERR_DBGF_BP_OWNER_CALLBACK_WRONG_STATUS;
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