VirtualBox

Changeset 30453 in vbox for trunk/include


Ignore:
Timestamp:
Jun 27, 2010 7:43:20 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
63124
Message:

DBGFR3DisasInstrEx: Flags for overriding the instruction set, adding u64, u32, u16 and uv86 to the debugger.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/dbgf.h

    r30060 r30453  
    857857/** No address in the output. */
    858858#define DBGF_DISAS_FLAGS_NO_ADDRESS         RT_BIT(5)
     859/** Disassemble in the default mode of the specific context. */
     860#define DBGF_DISAS_FLAGS_DEFAULT_MODE       UINT32_C(0x00000000)
     861/** Disassemble in 16-bit mode. */
     862#define DBGF_DISAS_FLAGS_16BIT_MODE         UINT32_C(0x10000000)
     863/** Disassemble in 16-bit mode with real mode address translation. */
     864#define DBGF_DISAS_FLAGS_16BIT_REAL_MODE    UINT32_C(0x20000000)
     865/** Disassemble in 32-bit mode. */
     866#define DBGF_DISAS_FLAGS_32BIT_MODE         UINT32_C(0x30000000)
     867/** Disassemble in 64-bit mode. */
     868#define DBGF_DISAS_FLAGS_64BIT_MODE         UINT32_C(0x40000000)
     869/** The dissassembly mode mask. */
     870#define DBGF_DISAS_FLAGS_MODE_MASK          UINT32_C(0x70000000)
     871/** Mask containing the valid flags. */
     872#define DBGF_DISAS_FLAGS_VALID_MASK         UINT32_C(0x7000003f)
    859873/** @} */
    860874
     
    862876#define DBGF_SEL_FLAT                       1
    863877
    864 VMMR3DECL(int) DBGFR3DisasInstrEx(PVM pVM, VMCPUID idCpu, RTSEL Sel, RTGCPTR GCPtr, unsigned fFlags, char *pszOutput, uint32_t cchOutput, uint32_t *pcbInstr);
     878VMMR3DECL(int) DBGFR3DisasInstrEx(PVM pVM, VMCPUID idCpu, RTSEL Sel, RTGCPTR GCPtr, uint32_t fFlags,
     879                                  char *pszOutput, uint32_t cbOutput, uint32_t *pcbInstr);
    865880VMMR3DECL(int) DBGFR3DisasInstrCurrent(PVMCPU pVCpu, char *pszOutput, uint32_t cbOutput);
    866881VMMR3DECL(int) DBGFR3DisasInstrCurrentLogInternal(PVMCPU pVCpu, const char *pszPrefix);
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