VirtualBox

Changeset 10089 in vbox for trunk


Ignore:
Timestamp:
Jul 2, 2008 9:46:46 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
32588
Message:

Incorrect offset calculations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Debugger/DBGCEmulateCodeView.cpp

    r10087 r10089  
    17781778                const char *pszCountOf = pDesc->Gen.u4Type & RT_BIT(3) ? "DC" : "WC";
    17791779                RTSEL sel = pDesc->au16[1];
    1780                 uint64_t off =  X86DESC64_BASE(*pDesc);
     1780                uint64_t off =    pDesc->au16[0]
     1781                                | ((uint64_t)pDesc->au16[3] << 16)
     1782                                | ((uint64_t)pDesc->Gen.u32BaseHigh3 << 32);
    17811783                rc = pCmdHlp->pfnPrintf(pCmdHlp, NULL, "%04x %s Sel:Off=%04x:%016RX64     DPL=%d %s %s=%d%s\n",
    17821784                                        iEntry, s_apszTypes[pDesc->Gen.u4Type], sel, off,
     
    17911793            {
    17921794                RTSEL sel = pDesc->au16[1];
    1793                 uint64_t off = X86DESC64_BASE(*pDesc);
     1795                uint64_t off =    pDesc->au16[0]
     1796                                | ((uint64_t)pDesc->au16[3] << 16)
     1797                                | ((uint64_t)pDesc->Gen.u32BaseHigh3 << 32);
    17941798                rc = pCmdHlp->pfnPrintf(pCmdHlp, NULL, "%04x %s Sel:Off=%04x:%016RX64     DPL=%d %s%s\n",
    17951799                                        iEntry, s_apszTypes[pDesc->Gen.u4Type], sel, off,
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette