VirtualBox

Changeset 97393 in vbox


Ignore:
Timestamp:
Nov 4, 2022 11:07:16 AM (2 years ago)
Author:
vboxsync
Message:

VMM/DBGF: Only enable an already existing breakpoint if indicated in the flags (thanks yih-styx), ticketref:21238

File:
1 edited

Legend:

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

    r97200 r97393  
    15201520 * Get a breakpoint give by address.
    15211521 *
    1522  * @returns The breakpoint handle on success or NIL_DBGF if not found.
     1522 * @returns The breakpoint handle on success or NIL_DBGFBP if not found.
    15231523 * @param   pUVM                The user mode VM handle.
    15241524 * @param   enmType             The breakpoint type.
     
    21982198        {
    21992199            rc = VINF_SUCCESS;
    2200             if (!DBGF_BP_PUB_IS_ENABLED(&pBp->Pub))
     2200            if (   !DBGF_BP_PUB_IS_ENABLED(&pBp->Pub)
     2201                && (fFlags & DBGF_BP_F_ENABLED))
    22012202                rc = dbgfR3BpArm(pUVM, hBp, pBp);
    22022203            if (RT_SUCCESS(rc))
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