Changeset 38515 in vbox for trunk/src/VBox/Runtime/include/internal
- Timestamp:
- Aug 24, 2011 2:33:32 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 73640
- Location:
- trunk/src/VBox/Runtime/include/internal
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/include/internal/dbgmod.h
r33540 r38515 5 5 6 6 /* 7 * Copyright (C) 2008-20 09Oracle Corporation7 * Copyright (C) 2008-2011 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 30 30 #include <iprt/types.h> 31 31 #include <iprt/critsect.h> 32 #include <iprt/ldr.h> /* for PFNRTLDRENUMDBG */ 32 33 #include "internal/magics.h" 33 34 … … 50 51 /** Magic number (RTDBGMODVTIMG_MAGIC). */ 51 52 uint32_t u32Magic; 52 /** Mask of supported executable image types, see grp_rt_exe_img_type. 53 * Used to speed up the search for a suitable interpreter. */ 54 uint32_t fSupports; 53 /** Reserved. */ 54 uint32_t fReserved; 55 55 /** The name of the interpreter. */ 56 56 const char *pszName; … … 74 74 * 75 75 * Upon successful return the method is expected to 76 * initialize p DbgOps and pvDbgPriv.76 * initialize pImgOps and pvImgPriv. 77 77 */ 78 78 DECLCALLBACKMEMBER(int, pfnTryOpen)(PRTDBGMODINT pMod); … … 88 88 DECLCALLBACKMEMBER(int, pfnClose)(PRTDBGMODINT pMod); 89 89 90 /** 91 * Enumerate the debug info contained in the executable image. 92 * 93 * Identical to RTLdrEnumDbgInfo. 94 * 95 * @returns IPRT status code or whatever pfnCallback returns. 96 * 97 * @param hLdrMod The module handle. 98 * @param pvBits Optional pointer to bits returned by 99 * RTLdrGetBits(). This can be used by some module 100 * interpreters to reduce memory consumption. 101 * @param pfnCallback The callback function. Ignore the module 102 * handle argument! 103 * @param pvUser The user argument. 104 */ 105 DECLCALLBACKMEMBER(int, pfnEnumDbgInfo)(PRTDBGMODINT pMod, PFNRTLDRENUMDBG pfnCallback, void *pvUser); 106 107 /** For catching initialization errors (RTDBGMODVTIMG_MAGIC). */ 108 uint32_t u32EndMagic; 90 109 } RTDBGMODVTIMG; 91 110 /** Pointer to a const RTDBGMODVTIMG. */ … … 400 419 401 420 extern DECLHIDDEN(RTSTRCACHE) g_hDbgModStrCache; 421 extern DECLHIDDEN(RTDBGMODVTDBG const) g_rtDbgModVtDbgDwarf; 402 422 extern DECLHIDDEN(RTDBGMODVTDBG const) g_rtDbgModVtDbgNm; 423 extern DECLHIDDEN(RTDBGMODVTIMG const) g_rtDbgModVtImgLdr; 403 424 404 425 int rtDbgModContainerCreate(PRTDBGMODINT pMod, RTUINTPTR cbSeg); -
trunk/src/VBox/Runtime/include/internal/ldr.h
r35183 r38515 162 162 * @param pvBits Pointer to the bits returned by RTLDROPS::pfnGetBits(), optional. 163 163 * @param BaseAddress The image base addressto use when calculating the symbol values. 164 * @param pfnCallback The callback function which each symbol is to be feeded to. 164 * @param pfnCallback The callback function which each symbol is to be 165 * fed to. 165 166 * @param pvUser User argument to pass to the enumerator. 166 167 * @remark This is an optional entry point. … … 225 226 DECLCALLBACKMEMBER(int, pfnGetSymbolEx)(PRTLDRMODINTERNAL pMod, const void *pvBits, RTUINTPTR BaseAddress, const char *pszSymbol, RTUINTPTR *pValue); 226 227 228 /** 229 * Enumerates the debug info contained in the module. 230 * 231 * @returns iprt status code, which might have been returned by pfnCallback. 232 * @param pMod Pointer to the loader module structure. 233 * @param pvBits Pointer to the bits returned by RTLDROPS::pfnGetBits(), optional. 234 * @param pfnCallback The callback function which each debug info part is 235 * to be fed to. 236 * @param pvUser User argument to pass to the enumerator. 237 * @remark This is an optional entry point that can be NULL. 238 */ 239 DECLCALLBACKMEMBER(int, pfnEnumDbgInfo)(PRTLDRMODINTERNAL pMod, const void *pvBits, 240 PFNRTLDRENUMDBG pfnCallback, void *pvUser); 241 242 227 243 /** Dummy entry to make sure we've initialized it all. */ 228 244 RTUINT uDummy;
Note:
See TracChangeset
for help on using the changeset viewer.