VirtualBox

Changeset 64770 in vbox for trunk/src/VBox/Debugger


Ignore:
Timestamp:
Dec 1, 2016 12:28:44 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
112120
Message:

VMM/DBGF, HM: Fix int3 based breakpoints set in the VM debugger when using VT-x.

Location:
trunk/src/VBox/Debugger
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Debugger/DBGCEmulateCodeView.cpp

    r64721 r64770  
    10851085     */
    10861086    uint32_t iBp;
    1087     rc = DBGFR3BpSet(pUVM, &Address, iHitTrigger, iHitDisable, &iBp);
     1087    PDBGC    pDbgc = DBGC_CMDHLP2DBGC(pCmdHlp);
     1088    rc = DBGFR3BpSetInt3(pUVM, pDbgc->idCpu, &Address, iHitTrigger, iHitDisable, &iBp);
    10881089    if (RT_SUCCESS(rc))
    10891090    {
    1090         PDBGC pDbgc = DBGC_CMDHLP2DBGC(pCmdHlp);
    10911091        rc = dbgcBpAdd(pDbgc, iBp, pszCmds);
    10921092        if (RT_SUCCESS(rc))
  • trunk/src/VBox/Debugger/testcase/tstDBGCStubs.cpp

    r64721 r64770  
    4242}
    4343
    44 VMMR3DECL(int)  DBGFR3AddrToPhys(PUVM pUVM, VMCPUID idCpu, PDBGFADDRESS pAddress, PRTGCPHYS pGCPhys)
     44VMMR3DECL(int)  DBGFR3AddrToPhys(PUVM pUVM, VMCPUID idCpu, PCDBGFADDRESS pAddress, PRTGCPHYS pGCPhys)
    4545{
    4646    return VERR_INTERNAL_ERROR;
     
    6868    return VERR_INTERNAL_ERROR;
    6969}
    70 VMMR3DECL(int) DBGFR3BpSet(PUVM pUVM, PCDBGFADDRESS pAddress, uint64_t iHitTrigger, uint64_t iHitDisable, PRTUINT piBp)
     70VMMR3DECL(int) DBGFR3BpSetInt3(PUVM pUVM, VMCPUID idCpu, PCDBGFADDRESS pAddress, uint64_t iHitTrigger, uint64_t iHitDisable, PRTUINT piBp)
    7171{
    7272    return VERR_INTERNAL_ERROR;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette