Changeset 46127 in vbox for trunk/src/VBox/Runtime/common
- Timestamp:
- May 16, 2013 2:11:26 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/dbg/dbgmoddbghelp.cpp
r46108 r46127 315 315 return TRUE; 316 316 } 317 317 if (pSymInfo->NameLen >= RTDBG_SYMBOL_NAME_LENGTH) 318 { 319 Log((" %#018x LB %#07x %s [SKIPPED - TOO LONG (%u > %u)!]\n", pSymInfo->Address, cbSymbol, pSymInfo->Name, 320 pSymInfo->NameLen, RTDBG_SYMBOL_NAME_LENGTH)); 321 return TRUE; 322 } 323 324 /* ASSUMES the symbol name is ASCII. */ 318 325 int rc = RTDbgModSymbolAdd(pArgs->hCnt, pSymInfo->Name, RTDBGSEGIDX_RVA, 319 326 pSymInfo->Address - pArgs->uModAddr, cbSymbol, 0, NULL); … … 415 422 while (hFake == NULL || hFake == INVALID_HANDLE_VALUE); 416 423 424 LogFlow(("rtDbgModDbgHelp_TryOpen: \n")); 417 425 if (SymInitialize(hFake, NULL /*SearchPath*/, FALSE /*fInvalidProcess*/)) 418 426 { … … 435 443 pMod->pDbgVt = &g_rtDbgModVtDbgDbgHelp; 436 444 hCnt = NIL_RTDBGMOD; 445 LogFlow(("rtDbgModDbgHelp_TryOpen: Successfully loaded '%s' at %#llx\n", 446 pMod->pszDbgFile, (uint64_t)uImageBase)); 437 447 } 438 448 … … 440 450 } 441 451 else 452 { 442 453 rc = RTErrConvertFromWin32(GetLastError()); 454 LogFlow(("rtDbgModDbgHelp_TryOpen: Error loading the module '%s' at %#llx: %Rrc (%u)\n", 455 pMod->pszDbgFile, (uint64_t)uImageBase, rc, GetLastError())); 456 } 443 457 RTUtf16Free(pwszDbgFile); 444 458 } 459 else 460 LogFlow(("rtDbgModDbgHelp_TryOpen: Unicode version issue: %Rrc\n", rc)); 445 461 446 462 BOOL fRc2 = SymCleanup(hFake); Assert(fRc2); NOREF(fRc2); 447 463 } 448 464 else 465 { 449 466 rc = RTErrConvertFromWin32(GetLastError()); 467 LogFlow(("rtDbgModDbgHelp_TryOpen: SymInitialize failed: %Rrc (%u)\n", rc, GetLastError())); 468 } 450 469 } 451 470 RTDbgModRelease(hCnt);
Note:
See TracChangeset
for help on using the changeset viewer.