VirtualBox

Changeset 73412 in vbox for trunk/src/VBox/Runtime/include


Ignore:
Timestamp:
Jul 31, 2018 4:50:04 PM (7 years ago)
Author:
vboxsync
Message:

IPRT/dbgmoddeferred: Fixed debug close method using the wrong instance data pointer (img instead of dbg).

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/include/internal/dbgmod.h

    r73401 r73412  
    541541typedef struct RTDBGMODDEFERRED
    542542{
     543    /** Magic value (RTDBGMODDEFERRED_MAGIC). */
     544    uint32_t            u32Magic;
     545    /** Reference counter. */
     546    uint32_t volatile   cRefs;
    543547    /** The image size.
    544548     * Deferred loading is almost pointless without knowing the module size, as
    545549     * it cannot be mapped (correctly) without it. */
    546550    RTUINTPTR           cbImage;
    547     /** Reference counter. */
    548     uint32_t volatile   cRefs;
    549     /** Magic value for debug purposes. */
    550     uint32_t            uMagic;
    551551    /** The configuration instance (referenced), can be NIL. */
    552552    RTDBGCFG            hDbgCfg;
  • trunk/src/VBox/Runtime/include/internal/magics.h

    r71492 r73412  
    4141/** Magic number for RTDBGMODINT::u32Magic. (Keith Jarrett) */
    4242#define RTDBGMOD_MAGIC                  UINT32_C(0x19450508)
     43/** Magic number for RTDBGMODDEFERRED::u32Magic. (Chet Baker) */
     44#define RTDBGMODDEFERRED_MAGIC          UINT32_C(0x19291223)
     45/** Magic number for RTDBGMODDEFERRED::u32Magic after release. */
     46#define RTDBGMODDEFERRED_MAGIC_DEAD     UINT32_C(0x19880513)
     47/** Magic number for RTDBGMODLDR::u32Magic. (Gerry Mulligan) */
     48#define RTDBGMODLDR_MAGIC               UINT32_C(0x19270406)
     49/** Magic number for RTDBGMODLDR::u32Magic after close. */
     50#define RTDBGMODLDR_MAGIC_DEAD          UINT32_C(0x19960120)
    4351/** Magic number for RTDBGMODVTIMG::u32Magic. (Jack DeJohnette) */
    4452#define RTDBGMODVTDBG_MAGIC             UINT32_C(0x19420809)
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