VirtualBox

Changeset 9700 in vbox


Ignore:
Timestamp:
Jun 16, 2008 8:49:47 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
32050
Message:

Fixed several problems for 64 bits code disassembly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/DBGFDisas.cpp

    r9675 r9700  
    102102    uint32_t cbInstr;
    103103    int rc = DISCoreOneEx(GCPtr,
    104                           pSelInfo->Raw.Gen.u1DefBig
    105                           ? enmMode >= PGMMODE_AMD64 && pSelInfo->Raw.Gen.u1Long
     104                          enmMode >= PGMMODE_AMD64 && pSelInfo->Raw.Gen.u1Long
    106105                          ? CPUMODE_64BIT
    107                           : CPUMODE_32BIT
     106                          : pSelInfo->Raw.Gen.u1DefBig
     107                          ? CPUMODE_32BIT
    108108                          : CPUMODE_16BIT,
    109109                          dbgfR3DisasInstrRead,
     
    308308        Sel        = pCtxCore->cs;
    309309        pHiddenSel = (CPUMSELREGHID *)&pCtxCore->csHid;
    310         GCPtr      = pCtxCore->eip;
     310        GCPtr      = pCtxCore->rip;
    311311    }
    312312
     
    334334        SelInfo.Raw.Gen.u1Granularity = pHiddenSel->Attr.n.u1Granularity;;
    335335        SelInfo.Raw.Gen.u1DefBig    = pHiddenSel->Attr.n.u1DefBig;
     336        SelInfo.Raw.Gen.u1Long      = pHiddenSel->Attr.n.u1Long;
    336337        SelInfo.Raw.Gen.u1DescType  = pHiddenSel->Attr.n.u1DescType;
    337338        SelInfo.Raw.Gen.u4Type      = pHiddenSel->Attr.n.u4Type;
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