VirtualBox

Changeset 22114 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Aug 9, 2009 11:07:56 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
50872
Message:

RTDbgMod: Added module tagging so the diggers can tell which modules are theirs when refreshing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/dbg.h

    r21110 r22114  
    666666RTDECL(RTUINTPTR)   RTDbgModImageSize(RTDBGMOD hDbgMod);
    667667
     668/**
     669 * Gets the module tag value if any.
     670 *
     671 * @returns The tag. 0 if hDbgMod is invalid.
     672 *
     673 * @param   hDbgMod         The module handle.
     674 */
     675RTDECL(uint64_t)    RTDbgModGetTag(RTDBGMOD hDbgMod);
     676
     677/**
     678 * Tags or untags the module.
     679 *
     680 * @returns IPRT status code.
     681 * @retval  VERR_INVALID_HANDLE if hDbgMod is invalid.
     682 *
     683 * @param   hDbgMod         The module handle.
     684 * @param   uTag            The tag value.  The convention is that 0 is no tag
     685 *                          and any other value means it's tagged.  It's adviced
     686 *                          to use some kind of unique number like an address
     687 *                          (global or string cache for instance) to avoid
     688 *                          collisions with other users
     689 */
     690RTDECL(int)         RTDbgModSetTag(RTDBGMOD hDbgMod, uint64_t uTag);
     691
    668692
    669693/**
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