Changeset 104613 in vbox
- Timestamp:
- May 13, 2024 4:10:34 PM (11 months ago)
- svn:sync-xref-src-repo-rev:
- 163155
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Debugger/DBGCGdbRemoteStub.cpp
r103433 r104613 2522 2522 else 2523 2523 rc = pDbgc->CmdHlp.pfnPrintf(&pDbgc->CmdHlp, NULL, "\ndbgf event: %s!", pEvtDesc->pszName); 2524 if (pEvent->u.Generic.cArgs <= 1) 2525 rc = pDbgc->CmdHlp.pfnPrintf(&pDbgc->CmdHlp, NULL, " arg=%#llx\n", pEvent->u.Generic.auArgs[0]); 2526 else 2524 if (RT_SUCCESS(rc)) 2527 2525 { 2528 for (uint32_t i = 0; i < pEvent->u.Generic.cArgs; i++) 2529 rc = pDbgc->CmdHlp.pfnPrintf(&pDbgc->CmdHlp, NULL, " args[%u]=%#llx", i, pEvent->u.Generic.auArgs[i]); 2530 rc = pDbgc->CmdHlp.pfnPrintf(&pDbgc->CmdHlp, NULL, "\n"); 2526 if (pEvent->u.Generic.cArgs <= 1) 2527 rc = pDbgc->CmdHlp.pfnPrintf(&pDbgc->CmdHlp, NULL, " arg=%#llx\n", pEvent->u.Generic.auArgs[0]); 2528 else 2529 { 2530 for (uint32_t i = 0; i < pEvent->u.Generic.cArgs; i++) 2531 rc = pDbgc->CmdHlp.pfnPrintf(&pDbgc->CmdHlp, NULL, " args[%u]=%#llx", i, pEvent->u.Generic.auArgs[i]); 2532 if (RT_SUCCESS(rc)) 2533 rc = pDbgc->CmdHlp.pfnPrintf(&pDbgc->CmdHlp, NULL, "\n"); 2534 } 2531 2535 } 2532 2536 } … … 2851 2855 2852 2856 if (!DBGFR3IsHalted(pThis->Dbgc.pUVM, VMCPUID_ALL)) 2857 { 2853 2858 rc = DBGFR3Halt(pThis->Dbgc.pUVM, VMCPUID_ALL); 2859 if (RT_FAILURE(rc)) 2860 LogRel(("DBGC/Gdb: Failed to halt VM (%Rrc), debugger might behave unexpectedly\n")); 2861 } 2854 2862 2855 2863 /*
Note:
See TracChangeset
for help on using the changeset viewer.