VirtualBox

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


Ignore:
Timestamp:
Aug 25, 2011 2:30:23 PM (13 years ago)
Author:
vboxsync
Message:

iprt: debug info coding...

File:
1 edited

Legend:

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

    r38515 r38531  
    9595     * @returns IPRT status code or whatever pfnCallback returns.
    9696     *
    97      * @param   hLdrMod         The module handle.
     97     * @param   pMod            Pointer to the module structure.
    9898     * @param   pvBits          Optional pointer to bits returned by
    9999     *                          RTLdrGetBits().  This can be used by some module
     
    104104     */
    105105    DECLCALLBACKMEMBER(int, pfnEnumDbgInfo)(PRTDBGMODINT pMod, PFNRTLDRENUMDBG pfnCallback, void *pvUser);
     106
     107    /**
     108     * Creates a read-only mapping of a part of the image file.
     109     *
     110     * @returns IPRT status code and *ppvMap set on success.
     111     *
     112     * @param   pMod            Pointer to the module structure.
     113     * @param   off             The offset into the image file.
     114     * @param   cb              The number of bytes to map.
     115     * @param   ppvMap          Where to return the mapping address on success.
     116     */
     117    DECLCALLBACKMEMBER(int, pfnMapPart)(PRTDBGMODINT pMod, RTFOFF off, size_t cb, void const **ppvMap);
     118
     119    /**
     120     * Unmaps memory previously mapped by pfnMapPart.
     121     *
     122     * @returns IPRT status code, *ppvMap set to NULL on success.
     123     *
     124     * @param   pMod            Pointer to the module structure.
     125     * @param   cb              The size of the mapping.
     126     * @param   ppvMap          The mapping address on input, NULL on
     127     *                          successful return.
     128     */
     129    DECLCALLBACKMEMBER(int, pfnUnmapPart)(PRTDBGMODINT pMod, size_t cb, void const **ppvMap);
     130
    106131
    107132    /** For catching initialization errors (RTDBGMODVTIMG_MAGIC). */
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