Changeset 46149 in vbox for trunk/src/VBox/Runtime/common/dbg/dbgmoddeferred.cpp
- Timestamp:
- May 17, 2013 5:21:23 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/dbg/dbgmoddeferred.cpp
r46115 r46149 451 451 452 452 /** @interface_method_impl{RTDBGMODVTIMG,pfnMapPart} */ 453 static DECLCALLBACK(int) rtDbgModDeferredImg_MapPart(PRTDBGMODINT pMod, RTFOFF off, size_t cb, void const **ppvMap)454 { 455 int rc = rtDbgModDeferredDoIt(pMod, false /*fForceRetry*/); 456 if (RT_SUCCESS(rc)) 457 rc = pMod->pImgVt->pfnMapPart(pMod, off, cb, ppvMap);453 static DECLCALLBACK(int) rtDbgModDeferredImg_MapPart(PRTDBGMODINT pMod, uint32_t iDbgInfo, RTFOFF off, size_t cb, void const **ppvMap) 454 { 455 int rc = rtDbgModDeferredDoIt(pMod, false /*fForceRetry*/); 456 if (RT_SUCCESS(rc)) 457 rc = pMod->pImgVt->pfnMapPart(pMod, iDbgInfo, off, cb, ppvMap); 458 458 return rc; 459 459 } … … 465 465 PRTDBGMODDEFERRED pThis = (PRTDBGMODDEFERRED)pMod->pvImgPriv; 466 466 return pThis->cbImage; 467 } 468 469 470 /** @interface_method_impl{RTDBGMODVTIMG,pfnRvaToSegOffset} */ 471 static DECLCALLBACK(int) rtDbgModDeferredImg_RvaToSegOffset(PRTDBGMODINT pMod, RTLDRADDR uRva, 472 PRTDBGSEGIDX piSeg, PRTLDRADDR poffSeg) 473 { 474 int rc = rtDbgModDeferredDoIt(pMod, false /*fForceRetry*/); 475 if (RT_SUCCESS(rc)) 476 rc = pMod->pImgVt->pfnRvaToSegOffset(pMod, uRva, piSeg, poffSeg); 477 return rc; 467 478 } 468 479 … … 538 549 /*.pfnGetLoadedSize = */ rtDbgModDeferredImg_ImageSize, 539 550 /*.pfnLinkAddressToSegOffset = */ rtDbgModDeferredImg_LinkAddressToSegOffset, 551 /*.pfnRvaToSegOffset = */ rtDbgModDeferredImg_RvaToSegOffset, 540 552 /*.pfnMapPart = */ rtDbgModDeferredImg_MapPart, 541 553 /*.pfnUnmapPart = */ rtDbgModDeferredImg_UnmapPart,
Note:
See TracChangeset
for help on using the changeset viewer.