VirtualBox

Ignore:
Timestamp:
May 25, 2013 7:51:19 PM (12 years ago)
Author:
vboxsync
Message:

IPRT: Changed RTLDRSEG::pchName to pszName and make sure it's always set to something. Started on implementing a codeview reader.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/dbg/dbgmoddeferred.cpp

    r46164 r46266  
    467467
    468468
     469/** @interface_method_impl{RTDBGMODVTIMG,pfnReadAt} */
     470static DECLCALLBACK(int) rtDbgModDeferredImg_ReadAt(PRTDBGMODINT pMod, uint32_t iDbgInfoHint, RTFOFF off, void *pvBuf, size_t cb)
     471{
     472    int rc = rtDbgModDeferredDoIt(pMod, false /*fForceRetry*/);
     473    if (RT_SUCCESS(rc))
     474        rc = pMod->pImgVt->pfnReadAt(pMod, iDbgInfoHint, off, pvBuf, cb);
     475    return rc;
     476}
     477
     478
    469479/** @interface_method_impl{RTDBGMODVTIMG,pfnUnmapPart} */
    470480static DECLCALLBACK(int) rtDbgModDeferredImg_UnmapPart(PRTDBGMODINT pMod, size_t cb, void const **ppvMap)
     
    580590    /*.pfnMapPart = */                  rtDbgModDeferredImg_MapPart,
    581591    /*.pfnUnmapPart = */                rtDbgModDeferredImg_UnmapPart,
     592    /*.pfnReadAt = */                   rtDbgModDeferredImg_ReadAt,
    582593    /*.pfnGetFormat = */                rtDbgModDeferredImg_GetFormat,
    583594    /*.pfnGetArch = */                  rtDbgModDeferredImg_GetArch,
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