VirtualBox

Changeset 61532 in vbox


Ignore:
Timestamp:
Jun 7, 2016 11:47:32 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
107869
Message:

VMM/DBGFCoreWrite: Add missing CPU-context's rflags to the core dump, thanks to Samuele Defrancesco for the patch.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/dbgfcorefmt.h

    r58106 r61532  
    4949#define DBGFCORE_MAGIC          UINT32_C(0xc01ac0de)
    5050/** DBGCORECOREDESCRIPTOR::u32FmtVersion. */
    51 #define DBGFCORE_FMT_VERSION    UINT32_C(0x00010003)
     51#define DBGFCORE_FMT_VERSION    UINT32_C(0x00010004)
    5252
    5353/**
     
    101101    uint64_t            rsp;
    102102    uint64_t            rbp;
     103    uint64_t            rflags;
    103104    DBGFCORESEL         cs;
    104105    DBGFCORESEL         ds;
  • trunk/src/VBox/VMM/VMMR3/DBGFCoreWrite.cpp

    r58126 r61532  
    345345    pDbgfCpu->rsp             = pCtx->rsp;
    346346    pDbgfCpu->rbp             = pCtx->rbp;
     347    pDbgfCpu->rflags          = pCtx->rflags.u;
    347348    DBGFCOPYSEL(pDbgfCpu->cs, pCtx->cs);
    348349    DBGFCOPYSEL(pDbgfCpu->ds, pCtx->ds);
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