VirtualBox

Ignore:
Timestamp:
Jun 7, 2009 1:22:52 PM (16 years ago)
Author:
vboxsync
Message:

iprt: some more dbgmod bits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/dbg/dbgmod.cpp

    r20355 r20356  
    172172        if (pDbgMod->pszName)
    173173        {
    174             pDbgMod->pDbgVt = &g_rtDbgModVtDbgContainer;
    175             rc = pDbgMod->pDbgVt->pfnTryOpen(pDbgMod);
     174            rc = rtDbgModContainerCreate(pDbgMod, cb);
    176175            if (RT_SUCCESS(rc))
    177176            {
     
    210209     */
    211210    RTCritSectEnter(&pDbgMod->CritSect); /* paranoia  */
     211
    212212    if (pDbgMod->pDbgVt)
     213    {
    213214        pDbgMod->pDbgVt->pfnClose(pDbgMod);
     215        pDbgMod->pDbgVt = NULL;
     216        pDbgMod->pvDbgPriv = NULL;
     217    }
     218
    214219    if (pDbgMod->pImgVt)
     220    {
    215221        pDbgMod->pImgVt->pfnClose(pDbgMod);
     222        pDbgMod->pImgVt = NULL;
     223        pDbgMod->pvImgPriv = NULL;
     224    }
    216225
    217226    /*
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