Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

dbg.h File Reference


Detailed Description

Debugger Interfaces.

This header covers all external interfaces of the Debugger module. However, it does not cover the DBGF interface since that part of the VMM. Use dbgf.h for that.

Definition in file dbg.h.

#include <VBox/cdefs.h>
#include <VBox/types.h>
#include <VBox/dbgf.h>
#include <iprt/stdarg.h>

Go to the source code of this file.

Classes

struct  DBGCBACK
struct  DBGCCMD
struct  DBGCCMDHLP
struct  DBGCVAR
struct  DBGCVARDESC

Defines

#define DBGCVAR_INIT(pVar)
#define DBGCVAR_INIT_GC_FAR(pVar, _sel, _off)
#define DBGCVAR_INIT_GC_FLAT(pVar, Flat)
#define DBGCVAR_INIT_GC_PHYS(pVar, Phys)
#define DBGCVAR_INIT_HC_FLAT(pVar, Flat)
#define DBGCVAR_INIT_HC_PHYS(pVar, Phys)
#define DBGCVAR_INIT_NUMBER(pVar, Value)
#define DBGCVAR_IS_FAR_PTR(enmType)   ((enmType) == DBGCVAR_TYPE_GC_FAR || (enmType) == DBGCVAR_TYPE_HC_FAR)
#define DBGCVAR_ISGCPOINTER(enmType)   ((enmType) >= DBGCVAR_TYPE_GC_FLAT && (enmType) <= DBGCVAR_TYPE_GC_PHYS)
#define DBGCVAR_ISHCPOINTER(enmType)   ((enmType) >= DBGCVAR_TYPE_HC_FLAT && (enmType) <= DBGCVAR_TYPE_HC_PHYS)
#define DBGCVAR_ISPOINTER(enmType)   ((enmType) >= DBGCVAR_TYPE_GC_FLAT && enmType <= DBGCVAR_TYPE_HC_PHYS)
#define DBGCCMD_FLAGS_FUNCTION   1
#define DBGCVD_FLAGS_DEP_PREV   RT_BIT(1)

Typedefs

typedef size_t const char va_list args
typedef PDBGCCMDHLP PVM
PCDBGCVAR unsigned 
cArgs
typedef const void size_t cbBuf
typedef PVM void size_t cbRead
typedef PVM const void size_t cbWrite
typedef uint32_t cMillies
typedef bool fReady
typedef PDBGCCMDHLP PVM PCDBGCVAR pArgs
typedef PVM void size_t
PCDBGCVAR size_t * 
pcbRead
typedef const void size_t size_t * pcbWritten
typedef struct DBGCCMDPCDBGCCMD
typedef const DBGCVARPCDBGCVAR
typedef const DBGCVARDESCPCDBGCVARDESC
typedef PDBGCCMDHLP pCmdHlp
typedef struct DBGCBACKPDBGCBACK
typedef struct DBGCCMDPDBGCCMD
typedef struct DBGCCMDHLPPDBGCCMDHLP
typedef DBGCVARPDBGCVAR
typedef DBGCVARDESCPDBGCVARDESC
typedef FNDBGCBACKINPUT * PFNDBGCBACKINPUT
typedef FNDBGCBACKREAD * PFNDBGCBACKREAD
typedef FNDBGCBACKSETREADY * PFNDBGCBACKSETREADY
typedef FNDBGCBACKWRITE * PFNDBGCBACKWRITE
typedef FNDBGCCMD * PFNDBGCCMD
typedef PDBGCVAR const char
typedef FNDBGCHLPEVAL * 
PFNDBGCHLPEVAL
typedef const char typedef
FNDBGCHLPEXEC * 
PFNDBGCHLPEXEC
typedef FNDBGCHLPMEMREAD * PFNDBGCHLPMEMREAD
typedef FNDBGCHLPMEMWRITE * PFNDBGCHLPMEMWRITE
typedef size_t const char
typedef FNDBGCHLPPRINTF * 
PFNDBGCHLPPRINTF
typedef FNDBGCHLPPRINTFV * PFNDBGCHLPPRINTFV
typedef int const char typedef
FNDBGCHLPVBOXERROR * 
PFNDBGCHLPVBOXERROR
typedef FNDBGCHLPVBOXERRORV * PFNDBGCHLPVBOXERRORV
typedef FNDBGCHLPWRITE * PFNDBGCHLPWRITE
typedef PDBGCVAR pResult
typedef PDBGCVAR const char * pszExpr
typedef size_t const char * pszFormat
typedef PVM void size_t PCDBGCVAR pVarPointer
typedef const void * pvBuf
typedef PVM void * pvBuffer
typedef PVM pVM
typedef int rc

Enumerations

enum  DBGCVARCAT {
  DBGCVAR_CAT_ANY = 0, DBGCVAR_CAT_POINTER, DBGCVAR_CAT_POINTER_NO_RANGE, DBGCVAR_CAT_GC_POINTER,
  DBGCVAR_CAT_GC_POINTER_NO_RANGE, DBGCVAR_CAT_NUMBER, DBGCVAR_CAT_NUMBER_NO_RANGE, DBGCVAR_CAT_STRING,
  DBGCVAR_CAT_SYMBOL, DBGCVAR_CAT_OPTION, DBGCVAR_CAT_OPTION_STRING, DBGCVAR_CAT_OPTION_NUMBER
}
enum  DBGCVARRANGETYPE { DBGCVAR_RANGE_NONE = 0, DBGCVAR_RANGE_ELEMENTS, DBGCVAR_RANGE_BYTES }
enum  DBGCVARTYPE {
  DBGCVAR_TYPE_UNKNOWN = 0, DBGCVAR_TYPE_GC_FLAT, DBGCVAR_TYPE_GC_FAR, DBGCVAR_TYPE_GC_PHYS,
  DBGCVAR_TYPE_HC_FLAT, DBGCVAR_TYPE_HC_FAR, DBGCVAR_TYPE_HC_PHYS, DBGCVAR_TYPE_STRING,
  DBGCVAR_TYPE_NUMBER, DBGCVAR_TYPE_SYMBOL, DBGCVAR_TYPE_ANY
}

Functions

 DBGDECL (int) DBGCCreate(PVM pVM
typedef DECLCALLBACK (void) FNDBGCBACKSETREADY(PDBGCBACK pBack
typedef DECLCALLBACK (int) FNDBGCHLPWRITE(PDBGCCMDHLP pCmdHlp
GC Device Helpers
typedef DECLCALLBACK (bool) FNDBGCBACKINPUT(PDBGCBACK pBack

Variables

unsigned cCommands
PDBGCBACK unsigned fFlags
PDBGCBACK pBack
void ** ppvUser
void * pvData


Generated by  Doxygen 1.6.0   Back to index