VirtualBox

Changeset 73460 in vbox for trunk/src/VBox/VMM/include


Ignore:
Timestamp:
Aug 2, 2018 9:06:59 PM (6 years ago)
Author:
vboxsync
Message:

IPRT,DBGF,Diggers: Moved DBGFRETURNTYPE and the unwind state structure to IPRT (dbg.h) in prep for debug module interface and more. Added stack unwind assist callback for the OS diggers so they can identify special stack frames and supply more info via the sure-register-value array and frame flags. Identify and decode NT/AMD64 trap frames.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/DBGFInternal.h

    r73414 r73460  
    153153
    154154
     155#ifdef IN_RING3
    155156/**
    156157 * Guest OS digger instance.
     
    167168    uint8_t                     abData[16];
    168169} DBGFOS;
     170#endif
    169171/** Pointer to guest OS digger instance. */
    170 typedef DBGFOS *PDBGFOS;
     172typedef struct DBGFOS *PDBGFOS;
    171173/** Pointer to const guest OS digger instance. */
    172 typedef DBGFOS const *PCDBGFOS;
     174typedef struct DBGFOS const *PCDBGFOS;
    173175
    174176
     
    497499
    498500
     501#ifdef IN_RING3
    499502int  dbgfR3AsInit(PUVM pUVM);
    500503void dbgfR3AsTerm(PUVM pUVM);
     
    506509void dbgfR3OSTermPart1(PUVM pUVM);
    507510void dbgfR3OSTermPart2(PUVM pUVM);
     511int  dbgfR3OSStackUnwindAssist(PUVM pUVM, VMCPUID idCpu, PDBGFSTACKFRAME pFrame, PRTDBGUNWINDSTATE pState,
     512                               PCCPUMCTX pInitialCtx, RTDBGAS hAs, uint64_t *puScratch);
    508513int  dbgfR3RegInit(PUVM pUVM);
    509514void dbgfR3RegTerm(PUVM pUVM);
     
    517522int  dbgfR3BugCheckInit(PVM pVM);
    518523
    519 
    520 
    521 #ifdef IN_RING3
    522524/**
    523525 * DBGF disassembler state (substate of DISSTATE).
     
    541543                                        char *pszOutput, uint32_t cbOutput, PDBGFDISSTATE pDisState);
    542544
     545#endif /* IN_RING3 */
     546
     547/** @} */
     548
    543549#endif
    544 
    545 /** @} */
    546 
    547 #endif
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