VirtualBox

Changeset 73401 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Jul 31, 2018 8:28:41 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
124019
Message:

dbgmoddeferred: magic

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

Legend:

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

    r73375 r73401  
    5757        RTDbgCfgRelease(pThis->hDbgCfg);
    5858        pThis->hDbgCfg = NIL_RTDBGCFG;
     59        pThis->uMagic = UINT32_C(0xdeadf00d);
    5960        RTMemFree(pThis);
    6061    }
     
    640641    pDeferred->cbImage     = cbImage;
    641642    pDeferred->cRefs       = 1 + (pDbgMod->pImgVt == NULL);
     643    pDeferred->uMagic      = UINT32_C(0xbeef0001);
    642644    if (hDbgCfg != NIL_RTDBGCFG)
    643645        RTDbgCfgRetain(hDbgCfg);
  • trunk/src/VBox/Runtime/include/internal/dbgmod.h

    r73375 r73401  
    547547    /** Reference counter. */
    548548    uint32_t volatile   cRefs;
     549    /** Magic value for debug purposes. */
     550    uint32_t            uMagic;
    549551    /** The configuration instance (referenced), can be NIL. */
    550552    RTDBGCFG            hDbgCfg;
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