VirtualBox

Changeset 106362 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Oct 16, 2024 1:08:09 PM (4 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
165175
Message:

VMM/DBGF: Prepare DBGF to support ARMv8/A64 style breakpoints for the VMM debugger. This converts the x86 centric int3 naming to software breakpoint, bugref:10393

Location:
trunk/src/VBox/VMM/VMMR0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp

    r106061 r106362  
    21802180
    21812181        /* Trap #BP for INT3 debug breakpoints set by the VM debugger. */
    2182         if (pVCpu->CTX_SUFF(pVM)->dbgf.ro.cEnabledInt3Breakpoints)
     2182        if (pVCpu->CTX_SUFF(pVM)->dbgf.ro.cEnabledSwBreakpoints)
    21832183            hmR0SvmSetXcptIntercept(pVmcb, X86_XCPT_BP);
    21842184        else
     
    47564756                && (!VBOXVMM_ANY_PROBES_ENABLED() || !hmR0SvmAnyExpensiveProbesEnabled())
    47574757                && !DBGFIsStepping(pVCpu)
    4758                 && !pVCpu->CTX_SUFF(pVM)->dbgf.ro.cEnabledInt3Breakpoints)
     4758                && !pVCpu->CTX_SUFF(pVM)->dbgf.ro.cEnabledSwBreakpoints)
    47594759                rc = hmR0SvmRunGuestCodeNormal(pVCpu, &cLoops);
    47604760            else
     
    56735673     * INT3 breakpoints - triggered by #BP exceptions.
    56745674     */
    5675     if (pVM->dbgf.ro.cEnabledInt3Breakpoints > 0)
     5675    if (pVM->dbgf.ro.cEnabledSwBreakpoints > 0)
    56765676        pDbgState->bmXcptExtra |= RT_BIT_32(X86_XCPT_BP);
    56775677
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r106061 r106362  
    69966996                && (!VBOXVMM_ANY_PROBES_ENABLED() || !hmR0VmxAnyExpensiveProbesEnabled())
    69976997                && !DBGFIsStepping(pVCpu)
    6998                 && !pVCpu->CTX_SUFF(pVM)->dbgf.ro.cEnabledInt3Breakpoints)
     6998                && !pVCpu->CTX_SUFF(pVM)->dbgf.ro.cEnabledSwBreakpoints)
    69996999                rcStrict = hmR0VmxRunGuestCodeNormal(pVCpu, &cLoops);
    70007000            else
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