VirtualBox

儲存庫 vbox 的更動 51450


忽略:
時間撮記:
2014-5-28 下午02:16:07 (10 年 以前)
作者:
vboxsync
訊息:

fixed some Log() statments where we didn't properly display uint64_t or RTUINTPTR variables

位置:
trunk/src/VBox
檔案:
修改 5 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Additions/common/VBoxGuestLib/HGCMInternal.cpp

    r48034 r51450  
    208208
    209209            case VMMDevHGCMParmType_64bit:
    210                 Log4(("GstHGCMCall: parm=%u type=64bit: %#018x\n", iParm, pSrcParm->u.value64));
     210                Log4(("GstHGCMCall: parm=%u type=64bit: %#018RX64\n", iParm, pSrcParm->u.value64));
    211211                break;
    212212
  • trunk/src/VBox/Runtime/common/dbg/dbgmoddbghelp.cpp

    r48935 r51450  
    216216    if (pLineInfo->Address < pArgs->uModAddr)
    217217    {
    218         Log((" %#018x %05u  %s  [SKIPPED - INVALID ADDRESS!]\n", pLineInfo->Address, pLineInfo->LineNumber));
     218        Log((" %#018RX64 %05u  %s  [SKIPPED - INVALID ADDRESS!]\n", pLineInfo->Address, pLineInfo->LineNumber));
    219219        return TRUE;
    220220    }
     
    256256    int rc = RTDbgModLineAdd(pArgs->hCnt, pArgs->pszPrev, pLineInfo->LineNumber,
    257257                             RTDBGSEGIDX_RVA, pLineInfo->Address - pArgs->uModAddr, NULL);
    258     Log((" %#018x %05u  %s  [%Rrc]\n", pLineInfo->Address, pLineInfo->LineNumber, rc));
     258    Log((" %#018RX64 %05u  %s  [%Rrc]\n", pLineInfo->Address, pLineInfo->LineNumber, rc));
    259259    NOREF(rc);
    260260
     
    312312    if (pSymInfo->Address < pArgs->uModAddr) /* NT4 SP1 ntfs.dbg */
    313313    {
    314         Log(("  %#018x LB %#07x  %s  [SKIPPED - INVALID ADDRESS!]\n", pSymInfo->Address, cbSymbol, pSymInfo->Name));
     314        Log(("  %#018RX64 LB %#07x  %s  [SKIPPED - INVALID ADDRESS!]\n", pSymInfo->Address, cbSymbol, pSymInfo->Name));
    315315        return TRUE;
    316316    }
    317317    if (pSymInfo->NameLen >= RTDBG_SYMBOL_NAME_LENGTH)
    318318    {
    319         Log(("  %#018x LB %#07x  %s  [SKIPPED - TOO LONG (%u > %u)!]\n", pSymInfo->Address, cbSymbol, pSymInfo->Name,
     319        Log(("  %#018RX64 LB %#07x  %s  [SKIPPED - TOO LONG (%u > %u)!]\n", pSymInfo->Address, cbSymbol, pSymInfo->Name,
    320320             pSymInfo->NameLen, RTDBG_SYMBOL_NAME_LENGTH));
    321321        return TRUE;
     
    325325    int rc = RTDbgModSymbolAdd(pArgs->hCnt, pSymInfo->Name, RTDBGSEGIDX_RVA,
    326326                               pSymInfo->Address - pArgs->uModAddr, cbSymbol, 0, NULL);
    327     Log(("  %#018x LB %#07x  %s  [%Rrc]\n", pSymInfo->Address, cbSymbol, pSymInfo->Name, rc));
     327    Log(("  %#018RX64 LB %#07x  %s  [%Rrc]\n", pSymInfo->Address, cbSymbol, pSymInfo->Name, rc));
    328328    NOREF(rc);
    329329
  • trunk/src/VBox/Runtime/common/dbg/dbgmoddwarf.cpp

    r49082 r51450  
    44354435        {
    44364436            rc = RTDbgModSymbolAdd(pThis->hCnt, pszSymbol, RTDBGSEGIDX_RVA, uRva, 1, 0 /*fFlags*/, NULL /*piOrdinal*/);
    4437             Log6(("Dwarf: Symbol #%05u %#018x %s [%Rrc]\n", uSymbol, Value, pszSymbol, rc)); NOREF(rc);
     4437            Log(("Dwarf: Symbol #%05u %#018RTptr %s [%Rrc]\n", uSymbol, Value, pszSymbol, rc)); NOREF(rc);
    44384438        }
    44394439    }
    44404440    else
    4441         Log6(("Dwarf: Symbol #%05u %#018x %s [SKIPPED - INVALID ADDRESS]\n", uSymbol, Value, pszSymbol));
     4441        Log(("Dwarf: Symbol #%05u %#018RTptr '%s' [SKIPPED - INVALID ADDRESS]\n", uSymbol, Value, pszSymbol));
    44424442    return VINF_SUCCESS;
    44434443}
  • trunk/src/VBox/Runtime/common/dbg/dbgmodexports.cpp

    r49768 r51450  
    6767        int rc = RTDbgModSymbolAdd(pArgs->pDbgMod, pszSymbol, RTDBGSEGIDX_RVA, Value - pArgs->uImageBase,
    6868                                   0 /*cb*/, 0 /* fFlags */, NULL /*piOrdinal*/);
    69         Log(("Symbol #%05u %#018x %s [%Rrc]\n", uSymbol, Value, pszSymbol, rc)); NOREF(rc);
     69        Log(("Symbol #%05u %#018RTptr %s [%Rrc]\n", uSymbol, Value, pszSymbol, rc)); NOREF(rc);
    7070    }
    7171    else
    72         Log(("Symbol #%05u %#018x %s [SKIPPED - INVALID ADDRESS]\n", uSymbol, Value, pszSymbol));
     72        Log(("Symbol #%05u %#018RTptr %s [SKIPPED - INVALID ADDRESS]\n", uSymbol, Value, pszSymbol));
    7373    return VINF_SUCCESS;
    7474}
  • trunk/src/VBox/Runtime/tools/RTNtDbgHelp.cpp

    r46127 r51450  
    187187    pMod->uModAddr = uModAddrGot;
    188188    RTListAppend(&g_ModuleList, &pMod->ListEntry);
    189     infoPrintf(1, "%#018x %s\n", pMod->uModAddr, pMod->pszName);
     189    infoPrintf(1, "%#018RX64 %s\n", pMod->uModAddr, pMod->pszName);
    190190
    191191    return RTEXITCODE_SUCCESS;
     
    229229{
    230230    NOREF(pvUser);
    231     RTPrintf("  %#018x LB %#07x  %s\n", pSymInfo->Address, cbSymbol, pSymInfo->Name);
     231    RTPrintf("  %#018RX64 LB %#07x  %s\n", pSymInfo->Address, cbSymbol, pSymInfo->Name);
    232232    return TRUE;
    233233}
     
    243243    RTListForEach(&g_ModuleList, pMod, RTNTDBGHELPMOD, ListEntry)
    244244    {
    245         RTPrintf("*** %#018x - %s ***\n", pMod->uModAddr, pMod->szFullName);
     245        RTPrintf("*** %#018RX64 - %s ***\n", pMod->uModAddr, pMod->szFullName);
    246246
    247247        static const int8_t s_acbVariations[]  = { 0, -4, -8, -12, -16, -20, -24, -28, -32, 4, 8, 12, 16, 20, 24, 28, 32 };
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette