- Timestamp:
- Jun 15, 2018 11:32:28 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/EMR3Dbg.cpp
r72560 r72562 230 230 pHlp->pfnPrintf(pHlp, 231 231 "CPU[%u]: VM-exit history:\n" 232 " Exit No.: TSC timestamp / delta Flat RIP ExitName\n"232 " Exit No.: TSC timestamp / delta RIP (Flat/*) Exit Name\n" 233 233 , pVCpu->idCpu); 234 234 … … 265 265 uPrevTimestamp = pEntry->uTimestamp; 266 266 267 char szPC[32]; 268 if (!(pEntry->uFlagsAndType & (EMEXIT_F_CS_EIP | EMEXIT_F_UNFLATTENED_PC))) 269 RTStrPrintf(szPC, sizeof(szPC), "%016RX64 ", pEntry->uFlatPC); 270 else if (pEntry->uFlagsAndType & EMEXIT_F_UNFLATTENED_PC) 271 RTStrPrintf(szPC, sizeof(szPC), "%016RX64*", pEntry->uFlatPC); 272 else 273 RTStrPrintf(szPC, sizeof(szPC), "%04x:%08RX32* ", (uint32_t)(pEntry->uFlatPC >> 32), (uint32_t)pEntry->uFlatPC); 274 267 275 /* Do the printing. */ 268 276 if (pEntry->idxSlot == UINT32_MAX) 269 pHlp->pfnPrintf(pHlp, " %10RU64: %#018RX64/%+-9RI64 % 016RX64 %#06x %s\n",270 idx, pEntry->uTimestamp, offDelta, pEntry->uFlatPC, pEntry->uFlagsAndType, pszExitName);277 pHlp->pfnPrintf(pHlp, " %10RU64: %#018RX64/%+-9RI64 %s %#07x %s\n", 278 idx, pEntry->uTimestamp, offDelta, szPC, pEntry->uFlagsAndType, pszExitName); 271 279 else 272 280 { 273 281 /** @todo more on this later */ 274 pHlp->pfnPrintf(pHlp, " %10RU64: %#018RX64/%+-9RI64 %016RX64 %#06x %s slot=%#x\n", 275 idx, pEntry->uTimestamp, offDelta, pEntry->uFlatPC, pEntry->uFlagsAndType, pszExitName, 276 pEntry->idxSlot); 282 pHlp->pfnPrintf(pHlp, " %10RU64: %#018RX64/%+-9RI64 %s %#07x %s slot=%#x\n", 283 idx, pEntry->uTimestamp, offDelta, szPC, pEntry->uFlagsAndType, pszExitName, pEntry->idxSlot); 277 284 } 278 285
Note:
See TracChangeset
for help on using the changeset viewer.