Changeset 32595 in vbox
- Timestamp:
- Sep 17, 2010 12:34:48 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/DBGFCoreWrite.cpp
r32558 r32595 221 221 if (cchNameAlign - cchName > 3) 222 222 { 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, 224 224 cchNameAlign)); 225 225 return VERR_INVALID_PARAMETER; … … 228 228 if (cbDataAlign - cbData > 3) 229 229 { 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, 231 231 cbDataAlign)); 232 232 return VERR_INVALID_PARAMETER; … … 279 279 280 280 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", 282 282 rc, pszName, cchName, cchNameAlign, cbData, cbDataAlign)); 283 283 … … 341 341 CoreDescriptor.cCpus = pVM->cCpus; 342 342 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)); 344 344 345 345 /* … … 357 357 if (RT_FAILURE(rc)) 358 358 { 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)); 360 360 return rc; 361 361 } … … 371 371 if (RT_FAILURE(rc)) 372 372 { 373 LogRel((DBGFLOG_NAME ": Elf64WriteElfHdr failed. rc=%Rrc\n", rc));373 LogRel((DBGFLOG_NAME ": Elf64WriteElfHdr failed. rc=%Rrc\n", rc)); 374 374 goto CoreWriteDone; 375 375 } … … 389 389 if (RT_FAILURE(rc)) 390 390 { 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)); 392 392 goto CoreWriteDone; 393 393 } … … 425 425 if (RT_FAILURE(rc)) 426 426 { 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, 428 428 cbFileRange, cbMemRange, rc)); 429 429 goto CoreWriteDone; … … 440 440 if (RT_FAILURE(rc)) 441 441 { 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)); 443 443 goto CoreWriteDone; 444 444 } … … 453 453 if (RT_FAILURE(rc)) 454 454 { 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)); 456 456 goto CoreWriteDone; 457 457 } … … 469 469 if (RT_FAILURE(rc)) 470 470 { 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)); 472 472 goto CoreWriteDone; 473 473 } … … 487 487 if (RT_UNLIKELY(!pvBuf)) 488 488 { 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)); 490 490 goto CoreWriteDone; 491 491 } … … 497 497 * For some reason this failed, write out a zero page instead. 498 498 */ 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, 500 500 iPage, rc)); 501 501 memset(pvBuf, 0, cbBuf); … … 505 505 if (RT_FAILURE(rc)) 506 506 { 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)); 508 508 MMR3HeapFree(pvBuf); 509 509 goto CoreWriteDone; … … 547 547 int rc = VMMR3EmtRendezvous(pVM, VMMEMTRENDEZVOUS_FLAGS_TYPE_ONCE, dbgfR3CoreWrite, &CoreData); 548 548 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)); 550 550 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)); 552 552 return rc; 553 553 }
Note:
See TracChangeset
for help on using the changeset viewer.