VirtualBox

Changeset 75239 in vbox for trunk/include


Ignore:
Timestamp:
Nov 3, 2018 2:54:26 AM (6 years ago)
Author:
vboxsync
Message:

IPRT/dbg: Added RTDbgCfgOpenEx.

File:
1 edited

Legend:

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

    r74980 r75239  
    674674 *          list.  These status codes will not necessarily be propagated to the
    675675 *          caller in any consistent manner.
    676  * @retval  VINF_CALLBACK_RETURN if successuflly opened the file and it's time
     676 * @retval  VINF_CALLBACK_RETURN if successfully opened the file and it's time
    677677 *          to return
    678  * @retval  VERR_CALLBACK_RETURN if we shouldn't stop searching.
     678 * @retval  VERR_CALLBACK_RETURN if we should stop searching immediately.
    679679 *
    680680 * @param   hDbgCfg             The debugging configuration handle.
     
    688688
    689689
     690RTDECL(int) RTDbgCfgOpenEx(RTDBGCFG hDbgCfg, const char *pszFilename, const char *pszCacheSubDir,
     691                           const char *pszUuidMappingSubDir, uint32_t fFlags,
     692                           PFNRTDBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2);
    690693RTDECL(int) RTDbgCfgOpenPeImage(RTDBGCFG hDbgCfg, const char *pszFilename, uint32_t cbImage, uint32_t uTimestamp,
    691694                                PFNRTDBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2);
     
    702705RTDECL(int) RTDbgCfgOpenMachOImage(RTDBGCFG hDbgCfg, const char *pszFilename, PCRTUUID pUuid,
    703706                                   PFNRTDBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2);
     707
     708/** @name RTDBGCFG_O_XXX - Open flags for RTDbgCfgOpen.
     709 * @{ */
     710/** The operative system mask.  The values are RT_OPSYS_XXX. */
     711#define RTDBGCFG_O_OPSYS_MASK           UINT32_C(0x000000ff)
     712/** Same as RTDBGCFG_FLAGS_NO_SYSTEM_PATHS. */
     713#define RTDBGCFG_O_NO_SYSTEM_PATHS      RT_BIT_32(25)
     714/** The files may be compressed MS styled. */
     715#define RTDBGCFG_O_MAYBE_COMPRESSED_MS  RT_BIT_32(26)
     716/** Whether to make a recursive search. */
     717#define RTDBGCFG_O_RECURSIVE            RT_BIT_32(27)
     718/** We're looking for a separate debug file. */
     719#define RTDBGCFG_O_EXT_DEBUG_FILE       RT_BIT_32(28)
     720/** We're looking for an executable image. */
     721#define RTDBGCFG_O_EXECUTABLE_IMAGE     RT_BIT_32(29)
     722/** The file search should be done in an case insensitive fashion. */
     723#define RTDBGCFG_O_CASE_INSENSITIVE     RT_BIT_32(30)
     724/** Use Windbg style symbol servers when encountered in the path. */
     725#define RTDBGCFG_O_SYMSRV               RT_BIT_32(31)
     726/** Mask of valid flags. */
     727#define RTDBGCFG_O_VALID_MASK           UINT32_C(0xfe0000ff)
     728/** @} */
    704729
    705730
     
    15241549 * @retval  VERR_DBG_ADDRESS_WRAP if off+cb wraps around.
    15251550 * @retval  VERR_INVALID_PARAMETER if the symbol flags sets undefined bits.
     1551 * @retval  VERR_DBG_DUPLICATE_SYMBOL
     1552 * @retval  VERR_DBG_ADDRESS_CONFLICT
    15261553 *
    15271554 * @param   hDbgMod         The module handle.
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