VirtualBox

Changeset 32595 in vbox


Ignore:
Timestamp:
Sep 17, 2010 12:34:48 PM (14 years ago)
Author:
vboxsync
Message:

VMM/DBGFCoreWrite: log.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/DBGFCoreWrite.cpp

    r32558 r32595  
    221221    if (cchNameAlign - cchName > 3)
    222222    {
    223         LogRel((DBGFLOG_NAME ":Elf64WriteNoteHdr pszName=%s cchName=%u cchNameAlign=%u, cchName aligns to 4 not 8-bytes!\n", pszName, cchName,
     223        LogRel((DBGFLOG_NAME ": Elf64WriteNoteHdr pszName=%s cchName=%u cchNameAlign=%u, cchName aligns to 4 not 8-bytes!\n", pszName, cchName,
    224224                cchNameAlign));
    225225        return VERR_INVALID_PARAMETER;
     
    228228    if (cbDataAlign - cbData > 3)
    229229    {
    230         LogRel((DBGFLOG_NAME ":Elf64WriteNoteHdr pszName=%s cbData=%u cbDataAlign=%u, cbData aligns to 4 not 8-bytes!\n", pszName, cbData,
     230        LogRel((DBGFLOG_NAME ": Elf64WriteNoteHdr pszName=%s cbData=%u cbDataAlign=%u, cbData aligns to 4 not 8-bytes!\n", pszName, cbData,
    231231                cbDataAlign));
    232232        return VERR_INVALID_PARAMETER;
     
    279279
    280280    if (RT_FAILURE(rc))
    281         LogRel((DBGFLOG_NAME ":RTFileWrite failed. rc=%Rrc pszName=%s cchName=%u cchNameAlign=%u cbData=%u cbDataAlign=%u\n",
     281        LogRel((DBGFLOG_NAME ": RTFileWrite failed. rc=%Rrc pszName=%s cchName=%u cchNameAlign=%u cbData=%u cbDataAlign=%u\n",
    282282                rc, pszName, cchName, cchNameAlign, cbData, cbDataAlign));
    283283
     
    341341    CoreDescriptor.cCpus            = pVM->cCpus;
    342342
    343     Log((DBGFLOG_NAME ":CoreDescriptor Version=%u Revision=%u\n", CoreDescriptor.u32VBoxVersion, CoreDescriptor.u32VBoxRevision));
     343    Log((DBGFLOG_NAME ": CoreDescriptor Version=%u Revision=%u\n", CoreDescriptor.u32VBoxVersion, CoreDescriptor.u32VBoxRevision));
    344344
    345345    /*
     
    357357    if (RT_FAILURE(rc))
    358358    {
    359         LogRel((DBGFLOG_NAME ":RTFileOpen failed for '%s' rc=%Rrc\n", pDbgfData->pszDumpPath, rc));
     359        LogRel((DBGFLOG_NAME ": RTFileOpen failed for '%s' rc=%Rrc\n", pDbgfData->pszDumpPath, rc));
    360360        return rc;
    361361    }
     
    371371    if (RT_FAILURE(rc))
    372372    {
    373         LogRel((DBGFLOG_NAME ":Elf64WriteElfHdr failed. rc=%Rrc\n", rc));
     373        LogRel((DBGFLOG_NAME ": Elf64WriteElfHdr failed. rc=%Rrc\n", rc));
    374374        goto CoreWriteDone;
    375375    }
     
    389389    if (RT_FAILURE(rc))
    390390    {
    391         LogRel((DBGFLOG_NAME ":Elf64WritreProgHdr failed for PT_NOTE. rc=%Rrc\n", rc));
     391        LogRel((DBGFLOG_NAME ": Elf64WritreProgHdr failed for PT_NOTE. rc=%Rrc\n", rc));
    392392        goto CoreWriteDone;
    393393    }
     
    425425        if (RT_FAILURE(rc))
    426426        {
    427             LogRel((DBGFLOG_NAME ":Elf64WriteProgHdr failed for memory range(%u) cbFileRange=%u cbMemRange=%u rc=%Rrc\n", iRange,
     427            LogRel((DBGFLOG_NAME ": Elf64WriteProgHdr failed for memory range(%u) cbFileRange=%u cbMemRange=%u rc=%Rrc\n", iRange,
    428428                    cbFileRange, cbMemRange, rc));
    429429            goto CoreWriteDone;
     
    440440    if (RT_FAILURE(rc))
    441441    {
    442         LogRel((DBGFLOG_NAME ":Elf64WriteNoteHdr failed for Note '%s' rc=%Rrc\n", s_pcszCoreVBoxCore, rc));
     442        LogRel((DBGFLOG_NAME ": Elf64WriteNoteHdr failed for Note '%s' rc=%Rrc\n", s_pcszCoreVBoxCore, rc));
    443443        goto CoreWriteDone;
    444444    }
     
    453453        if (RT_FAILURE(rc))
    454454        {
    455             LogRel((DBGFLOG_NAME ":Elf64WriteNoteHdr failed for vCPU[%u] rc=%Rrc\n", iCpu, rc));
     455            LogRel((DBGFLOG_NAME ": Elf64WriteNoteHdr failed for vCPU[%u] rc=%Rrc\n", iCpu, rc));
    456456            goto CoreWriteDone;
    457457        }
     
    469469        if (RT_FAILURE(rc))
    470470        {
    471             LogRel((DBGFLOG_NAME ":PGMR3PhysGetRange(2) failed for iRange(%u) rc=%Rrc\n", iRange, rc));
     471            LogRel((DBGFLOG_NAME ": PGMR3PhysGetRange(2) failed for iRange(%u) rc=%Rrc\n", iRange, rc));
    472472            goto CoreWriteDone;
    473473        }
     
    487487            if (RT_UNLIKELY(!pvBuf))
    488488            {
    489                 LogRel((DBGFLOG_NAME ":MMR3HeapAlloc failed. iRange=%u iPage=%u\n", iRange, iPage));
     489                LogRel((DBGFLOG_NAME ": MMR3HeapAlloc failed. iRange=%u iPage=%u\n", iRange, iPage));
    490490                goto CoreWriteDone;
    491491            }
     
    497497                 * For some reason this failed, write out a zero page instead.
    498498                 */
    499                 LogRel((DBGFLOG_NAME ":PGMPhysRead failed for iRange=%u iPage=%u. rc=%Rrc. Ignoring...\n", iRange,
     499                LogRel((DBGFLOG_NAME ": PGMPhysRead failed for iRange=%u iPage=%u. rc=%Rrc. Ignoring...\n", iRange,
    500500                        iPage, rc));
    501501                memset(pvBuf, 0, cbBuf);
     
    505505            if (RT_FAILURE(rc))
    506506            {
    507                 LogRel((DBGFLOG_NAME ":RTFileWrite failed. iRange=%u iPage=%u rc=%Rrc\n", iRange, iPage, rc));
     507                LogRel((DBGFLOG_NAME ": RTFileWrite failed. iRange=%u iPage=%u rc=%Rrc\n", iRange, iPage, rc));
    508508                MMR3HeapFree(pvBuf);
    509509                goto CoreWriteDone;
     
    547547    int rc = VMMR3EmtRendezvous(pVM, VMMEMTRENDEZVOUS_FLAGS_TYPE_ONCE, dbgfR3CoreWrite, &CoreData);
    548548    if (RT_SUCCESS(rc))
    549         LogRel((DBGFLOG_NAME ":Successfully wrote guest core '%s'\n", pszDumpPath));
     549        LogRel((DBGFLOG_NAME ": Successfully wrote guest core dump %s\n", pszDumpPath));
    550550    else
    551         LogRel((DBGFLOG_NAME ":Failed to write guest core '%s' (%Rrc)\n", pszDumpPath, rc));
     551        LogRel((DBGFLOG_NAME ": Failed to write guest core dump %s. rc=%Rrc\n", pszDumpPath, rc));
    552552    return rc;
    553553}
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