VirtualBox

Changeset 86155 in vbox for trunk/src/VBox/Debugger


Ignore:
Timestamp:
Sep 17, 2020 2:37:42 PM (4 years ago)
Author:
vboxsync
Message:

Debugger/DBGCRemoteKd: Fix setting registers

File:
1 edited

Legend:

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

    r86148 r86155  
    21032103    RespHdr.u32NtStatus = NTSTATUS_SUCCESS;
    21042104
     2105    /** @todo What do these flags mean? Can't be the context state to set because the valid one is
     2106     * in NTCONTEXT64::fContext (observed with WinDbg). */
    21052107    SetContext.u32CtxFlags = pPktManip->u.SetContext.u32CtxFlags;
    21062108
     
    21102112    aRespSegs[1].cbSeg = sizeof(SetContext);
    21112113
    2112     int rc = dbgcKdCtxSetNtCtx64(pThis, pPktManip->Hdr.idCpu, pNtCtx, SetContext.u32CtxFlags);
     2114    int rc = dbgcKdCtxSetNtCtx64(pThis, pPktManip->Hdr.idCpu, pNtCtx, pNtCtx->fContext);
    21132115    if (RT_FAILURE(rc))
    21142116        RespHdr.u32NtStatus = NTSTATUS_UNSUCCESSFUL; /** @todo Convert to an appropriate NT status code. */
Note: See TracChangeset for help on using the changeset viewer.

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