Changeset 9933 in vbox
- Timestamp:
- Jun 25, 2008 3:41:23 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 32355
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Debugger/DBGCEmulateCodeView.cpp
r9848 r9933 1401 1401 pszPrefix, pCtxCore->rip, pszPrefix, pCtxCore->rsp, pszPrefix, pCtxCore->rbp, pszPrefix, X86_EFL_GET_IOPL(efl), *pszPrefix ? 33 : 31, szEFlags, 1402 1402 pszPrefix, (RTSEL)pCtxCore->cs, pCtx->csHid.u64Base, pCtx->csHid.u32Limit, pCtx->csHid.Attr.u, 1403 pszPrefix, (RTSEL)pCtxCore->ds, pCtx->dsHid.u64Base, pCtx->dsHid.u32Limit, pCtx->dsHid.Attr.u, 1404 pszPrefix, (RTSEL)pCtxCore->es, pCtx->esHid.u64Base, pCtx->esHid.u32Limit, pCtx->esHid.Attr.u, 1405 pszPrefix, (RTSEL)pCtxCore->fs, pCtx->fsHid.u64Base, pCtx->fsHid.u32Limit, pCtx->fsHid.Attr.u, 1406 pszPrefix, (RTSEL)pCtxCore->gs, pCtx->gsHid.u64Base, pCtx->gsHid.u32Limit, pCtx->gsHid.Attr.u, 1407 pszPrefix, (RTSEL)pCtxCore->ss, pCtx->ssHid.u64Base, pCtx->ssHid.u32Limit, pCtx->ssHid.Attr.u, 1403 pszPrefix, (RTSEL)pCtxCore->ds, pCtx->dsHid.u64Base, pCtx->dsHid.u32Limit, pCtx->dsHid.Attr.u, 1404 pszPrefix, (RTSEL)pCtxCore->es, pCtx->esHid.u64Base, pCtx->esHid.u32Limit, pCtx->esHid.Attr.u, 1405 pszPrefix, (RTSEL)pCtxCore->fs, pCtx->fsHid.u64Base, pCtx->fsHid.u32Limit, pCtx->fsHid.Attr.u, 1406 pszPrefix, (RTSEL)pCtxCore->gs, pCtx->gsHid.u64Base, pCtx->gsHid.u32Limit, pCtx->gsHid.Attr.u, 1407 pszPrefix, (RTSEL)pCtxCore->ss, pCtx->ssHid.u64Base, pCtx->ssHid.u32Limit, pCtx->ssHid.Attr.u, 1408 1408 pszPrefix, pCtx->cr0, pszPrefix, pCtx->cr2, pszPrefix, pCtx->cr3, pszPrefix, pCtx->cr4, 1409 1409 pszPrefix, pCtx->dr0, pszPrefix, pCtx->dr1, pszPrefix, pCtx->dr2, pszPrefix, pCtx->dr3, … … 1461 1461 pszPrefix, pCtx->fpu.FCW, pszPrefix, pCtx->fpu.FSW, pszPrefix, pCtx->fpu.FTW); 1462 1462 } 1463 1464 /* 1465 * Disassemble one instruction at cs:[r|e]ip. 1466 */ 1463 1467 if (CPUMIsGuestIn64BitCodeEx(pCtx)) 1464 {1465 /*1466 * Disassemble one instruction at cs:rip.1467 */1468 1468 return pCmdHlp->pfnExec(pCmdHlp, "u %016RX64 L 0", pCtx->rip); 1469 } 1470 else 1471 { 1472 /* 1473 * Disassemble one instruction at cs:eip. 1474 */ 1475 return pCmdHlp->pfnExec(pCmdHlp, "u %04x:%08x L 0", pCtx->cs, pCtx->eip); 1476 } 1469 return pCmdHlp->pfnExec(pCmdHlp, "u %04x:%08x L 0", pCtx->cs, pCtx->eip); 1477 1470 } 1478 1471 … … 1789 1782 const char *pszCountOf = pDesc->Gen.u4Type & RT_BIT(3) ? "DC" : "WC"; 1790 1783 RTSEL sel = pDesc->au16[1]; 1791 uint64_t off = pDesc->au16[0] 1784 uint64_t off = pDesc->au16[0] 1792 1785 | ((uint64_t)pDesc->au16[3] << 16) 1793 1786 | ((uint64_t)pDesc->Gen.u32BaseHigh3 << 32); … … 1803 1796 { 1804 1797 RTSEL sel = pDesc->au16[1]; 1805 uint64_t off = pDesc->au16[0] 1798 uint64_t off = pDesc->au16[0] 1806 1799 | ((uint64_t)pDesc->au16[3] << 16) 1807 1800 | ((uint64_t)pDesc->Gen.u32BaseHigh3 << 32);
Note:
See TracChangeset
for help on using the changeset viewer.