Changeset 49044 in vbox for trunk/src/VBox/Runtime/include/internal
- Timestamp:
- Oct 11, 2013 1:06:28 AM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 89827
- Location:
- trunk/src/VBox/Runtime/include/internal
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/include/internal/dbgmod.h
r46266 r49044 227 227 */ 228 228 DECLCALLBACKMEMBER(RTLDRARCH, pfnGetArch)(PRTDBGMODINT pMod); 229 230 /** 231 * Generic method for querying image properties. 232 * 233 * @returns IPRT status code. 234 * @param pMod Pointer to the module structure. 235 * @param enmLdrProp The property to query. 236 * @param pvBuf Pointer to the return buffer. 237 * @param cbBuf The size of the return buffer. 238 * @sa RTLdrQueryProp 239 */ 240 DECLCALLBACKMEMBER(int, pfnQueryProp)(PRTDBGMODINT pMod, RTLDRPROP enmProp, void *pvBuf, size_t cbBuf); 229 241 230 242 /** For catching initialization errors (RTDBGMODVTIMG_MAGIC). */ … … 559 571 uint32_t uCrc32; 560 572 } GnuDebugLink; 573 574 struct 575 { 576 /** The image UUID. */ 577 RTUUID Uuid; 578 /** Image architecture. */ 579 RTLDRARCH enmArch; 580 /** Number of segment mappings. */ 581 uint32_t cSegs; 582 /** Segment mappings. */ 583 RTDBGSEGMENT aSegs[1]; 584 } MachO; 561 585 } u; 562 586 } RTDBGMODDEFERRED; … … 617 641 618 642 643 /** 644 * Special segment package used passing segment order information for mach-o 645 * images (mainly mach_kernel, really). 646 * 647 * Passes to rtDbgModDwarf_TryOpen via RTDBGMODINF::pvDbgPriv. 648 */ 649 typedef struct RTDBGDWARFSEGPKG 650 { 651 /** Pointer to the segment array. */ 652 PCRTDBGSEGMENT paSegs; 653 /** Number of segments. */ 654 uint32_t cSegs; 655 /** For use more internal use in file locator callbacks. */ 656 RTLDRARCH enmArch; 657 /** For use more internal use in file locator callbacks. */ 658 PCRTUUID pUuid; 659 } RTDBGDWARFSEGPKG; 660 /** Pointer to a const segment package. */ 661 typedef RTDBGDWARFSEGPKG const *PCRTDBGDWARFSEGPKG; 662 663 619 664 extern DECLHIDDEN(RTSTRCACHE) g_hDbgModStrCache; 620 665 extern DECLHIDDEN(RTDBGMODVTDBG const) g_rtDbgModVtDbgCodeView; … … 637 682 DECLHIDDEN(int) rtDbgModCreateForExports(PRTDBGMODINT pDbgMod); 638 683 DECLHIDDEN(int) rtDbgModDeferredCreate(PRTDBGMODINT pDbgMod, PFNRTDBGMODDEFERRED pfnDeferred, RTUINTPTR cbImage, 639 RTDBGCFG hDbgCfg, PRTDBGMODDEFERRED *ppDeferred);684 RTDBGCFG hDbgCfg, size_t cbDeferred, PRTDBGMODDEFERRED *ppDeferred); 640 685 641 686 DECLHIDDEN(int) rtDbgModLdrOpenFromHandle(PRTDBGMODINT pDbgMod, RTLDRMOD hLdrMod); -
trunk/src/VBox/Runtime/include/internal/ldr.h
r46593 r49044 312 312 * @returns IPRT status code. 313 313 * 314 * @param pMod Pointer to the loader module structure. 314 315 * @param pvBuf The buffer to read into. 315 316 * @param iDbgInfo The debug info ordinal number if the request … … 321 322 */ 322 323 DECLCALLBACKMEMBER(int, pfnReadDbgInfo)(PRTLDRMODINTERNAL pMod, uint32_t iDbgInfo, RTFOFF off, size_t cb, void *pvBuf); 324 325 326 327 /** 328 * Generic method for querying image properties. 329 * 330 * @returns IPRT status code. 331 * @retval VERR_NOT_SUPPORTED if the property query isn't supported (either all 332 * or that specific property). 333 * @retval VERR_NOT_FOUND the property was not found in the module. 334 * 335 * @param pMod Pointer to the loader module structure. 336 * @param enmLdrProp The property to query (valid). 337 * @param pvBuf Pointer to the return buffer (valid). 338 * @param cbBuf The size of the return buffer (valid as per 339 * property). 340 */ 341 DECLCALLBACKMEMBER(int, pfnQueryProp)(PRTLDRMODINTERNAL pMod, RTLDRPROP enmProp, void *pvBuf, size_t cbBuf); 323 342 324 343 /** Dummy entry to make sure we've initialized it all. */
Note:
See TracChangeset
for help on using the changeset viewer.