VirtualBox

Ignore:
Timestamp:
May 17, 2013 5:21:45 PM (12 years ago)
Author:
vboxsync
Message:

PATM: Patch symbols.

File:
1 edited

Legend:

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

    r46137 r46150  
    182182    pVM->patm.s.pGCStackGC  = MMHyperR3ToRC(pVM, pVM->patm.s.pGCStackHC);
    183183
     184    patmR3DbgInit(pVM);
     185
    184186    /*
    185187     * Hypervisor memory for GC status data (read/write)
     
    30003002    }
    30013003
     3004    patmR3DbgAddPatch(pVM, pPatchRec);
     3005
    30023006    PATM_LOG_RAW_PATCH_INSTR(pVM, pPatch, patmGetInstructionString(pPatch->opcode, pPatch->flags));
    30033007
     
    31503154            fInserted = RTAvloU32Insert(&pVM->patm.s.PatchLookupTreeHC->PatchTreeByPatchAddr, &pPatchRec->CoreOffset);
    31513155            AssertMsg(fInserted, ("RTAvlULInsert failed for %x\n", pPatchRec->CoreOffset.Key));
     3156            patmR3DbgAddPatch(pVM, pPatchRec);
    31523157
    31533158            pPatch->uState = PATCH_ENABLED;
     
    32243229    fInserted = RTAvloU32Insert(&pVM->patm.s.PatchLookupTreeHC->PatchTreeByPatchAddr, &pPatchRec->CoreOffset);
    32253230    AssertMsg(fInserted, ("RTAvlULInsert failed for %x\n", pPatchRec->CoreOffset.Key));
     3231    patmR3DbgAddPatch(pVM, pPatchRec);
    32263232
    32273233    pPatch->uState = PATCH_ENABLED;
     
    33523358        goto failure;
    33533359    }
     3360
     3361    patmR3DbgAddPatch(pVM, pPatchRec);
    33543362
    33553363#ifdef LOG_ENABLED
     
    35033511        goto failure;
    35043512    }
     3513    patmR3DbgAddPatch(pVM, pPatchRec);
    35053514
    35063515    /* size of patch block */
     
    45864595        }
    45874596#endif
     4597
     4598        /* Add debug symbol. */
     4599        patmR3DbgAddPatch(pVM, pPatchRec);
    45884600    }
    45894601    /* Free leftover lock if any. */
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