Changeset 58662 in vbox for trunk/src/VBox/Runtime/tools/RTLdrFlt.cpp
- Timestamp:
- Nov 11, 2015 2:58:00 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/tools/RTLdrFlt.cpp
r56978 r58662 292 292 { 293 293 if (aMappings[iMapping].iSeg == NIL_RTDBGSEGIDX) 294 { 294 295 RTPrintf(" mapping #%u: %RTptr-%RTptr\n", 295 296 iMapping, 296 297 aMappings[iMapping].Address, 297 298 aMappings[iMapping].Address + RTDbgModImageSize(hDbgMod) - 1); 299 if (cVerbosityLevel > 2) 300 { 301 uint32_t cSegments = RTDbgModSegmentCount(hDbgMod); 302 for (uint32_t iSeg = 0; iSeg < cSegments; iSeg++) 303 { 304 RTDBGSEGMENT SegInfo; 305 rc = RTDbgModSegmentByIndex(hDbgMod, iSeg, &SegInfo); 306 if (RT_SUCCESS(rc)) 307 RTPrintf(" seg #%u: %RTptr LB %RTptr '%s'\n", 308 iSeg, SegInfo.uRva, SegInfo.cb, SegInfo.szName); 309 else 310 RTPrintf(" seg #%u: %Rrc\n", iSeg, rc); 311 } 312 } 313 } 298 314 else 299 315 { … … 301 317 rc = RTDbgModSegmentByIndex(hDbgMod, aMappings[iMapping].iSeg, &SegInfo); 302 318 if (RT_SUCCESS(rc)) 303 RTPrintf(" mapping #%u: %RTptr-%RTptr (segment #%u - '%s') ",319 RTPrintf(" mapping #%u: %RTptr-%RTptr (segment #%u - '%s')\n", 304 320 iMapping, 305 321 aMappings[iMapping].Address, … … 307 323 SegInfo.iSeg, SegInfo.szName); 308 324 else 309 RTPrintf(" mapping #%u: %RTptr-???????? (segment #%u) ",310 iMapping, aMappings[iMapping].Address, aMappings[iMapping].iSeg );325 RTPrintf(" mapping #%u: %RTptr-???????? (segment #%u) rc=%Rrc\n", 326 iMapping, aMappings[iMapping].Address, aMappings[iMapping].iSeg, rc); 311 327 } 312 328 … … 320 336 rc = RTDbgModSymbolByOrdinal(hDbgMod, iSymbol, &SymInfo); 321 337 if (RT_SUCCESS(rc)) 322 RTPrintf(" #%04u at %08x:%RTptr %05llx %s\n",323 SymInfo.iOrdinal, SymInfo.iSeg, SymInfo.offSeg, 338 RTPrintf(" #%04u at %08x:%RTptr (%RTptr) %05llx %s\n", 339 SymInfo.iOrdinal, SymInfo.iSeg, SymInfo.offSeg, SymInfo.Value, 324 340 (uint64_t)SymInfo.cb, SymInfo.szName); 325 341 }
Note:
See TracChangeset
for help on using the changeset viewer.