VBoxGDB::VBoxTarget32 Class Reference

Implements a 32-bit VirtualBox target for GDBServerFoundation platform. More...

#include <VBoxTarget.h>

Inheritance diagram for VBoxGDB::VBoxTarget32:

Public Member Functions

 VBoxTarget32 (VBoxClient *pClient, bool own)
 
 ~VBoxTarget32 ()
 
virtual const
PlatformRegisterList * 
GetRegisterList ()
 
virtual GDBStatus ReadTargetRegisters (int threadID, RegisterSetContainer &registers)
 
virtual GDBStatus WriteTargetRegisters (int threadID, const RegisterSetContainer &registers)
 
virtual GDBStatus ReadTargetMemory (ULONGLONG Address, void *pBuffer, size_t *pSizeInBytes)
 
virtual GDBStatus WriteTargetMemory (ULONGLONG Address, const void *pBuffer, size_t sizeInBytes)
 
virtual GDBStatus GetLastStopRecord (TargetStopRecord *pRec)
 
virtual GDBStatus ResumeAndWait (int threadID)
 
virtual GDBStatus Step (int threadID)
 
virtual GDBStatus SendBreakInRequestAsync ()
 
virtual GDBStatus ExecuteRemoteCommand (const std::string &command, std::string &output)
 
virtual GDBStatus CreateBreakpoint (BreakpointType type, ULONGLONG Address, unsigned kind, OUT INT_PTR *pCookie)
 
virtual GDBStatus RemoveBreakpoint (BreakpointType type, ULONGLONG Address, INT_PTR Cookie)
 
virtual void CloseSessionSafely ()
 

Detailed Description

Implements a 32-bit VirtualBox target for GDBServerFoundation platform.

This class implements a target debugging a 32-bit guest OS. It only supports querying/returning the 32-bit x86 registers and thus won't work with a 64-bit target.

Definition at line 13 of file VBoxTarget.h.

Constructor & Destructor Documentation

VBoxGDB::VBoxTarget32::VBoxTarget32 ( VBoxClient pClient,
bool  own 
)

Definition at line 9 of file VBoxTarget.cpp.

VBoxGDB::VBoxTarget32::~VBoxTarget32 ( )

Definition at line 17 of file VBoxTarget.cpp.

Member Function Documentation

void VBoxGDB::VBoxTarget32::CloseSessionSafely ( )
virtual

Definition at line 143 of file VBoxTarget.cpp.

GDBServerFoundation::GDBStatus VBoxGDB::VBoxTarget32::CreateBreakpoint ( BreakpointType  type,
ULONGLONG  Address,
unsigned  kind,
OUT INT_PTR *  pCookie 
)
virtual

Definition at line 114 of file VBoxTarget.cpp.

GDBServerFoundation::GDBStatus VBoxGDB::VBoxTarget32::ExecuteRemoteCommand ( const std::string &  command,
std::string &  output 
)
virtual

Definition at line 103 of file VBoxTarget.cpp.

GDBServerFoundation::GDBStatus VBoxGDB::VBoxTarget32::GetLastStopRecord ( TargetStopRecord *  pRec)
virtual

Definition at line 70 of file VBoxTarget.cpp.

const PlatformRegisterList * VBoxGDB::VBoxTarget32::GetRegisterList ( )
virtual

Definition at line 98 of file VBoxTarget.cpp.

GDBServerFoundation::GDBStatus VBoxGDB::VBoxTarget32::ReadTargetMemory ( ULONGLONG  Address,
void *  pBuffer,
size_t *  pSizeInBytes 
)
virtual

Definition at line 52 of file VBoxTarget.cpp.

GDBServerFoundation::GDBStatus VBoxGDB::VBoxTarget32::ReadTargetRegisters ( int  threadID,
RegisterSetContainer &  registers 
)
virtual

Definition at line 23 of file VBoxTarget.cpp.

GDBServerFoundation::GDBStatus VBoxGDB::VBoxTarget32::RemoveBreakpoint ( BreakpointType  type,
ULONGLONG  Address,
INT_PTR  Cookie 
)
virtual

Definition at line 130 of file VBoxTarget.cpp.

GDBServerFoundation::GDBStatus VBoxGDB::VBoxTarget32::ResumeAndWait ( int  threadID)
virtual

Definition at line 78 of file VBoxTarget.cpp.

GDBServerFoundation::GDBStatus VBoxGDB::VBoxTarget32::SendBreakInRequestAsync ( )
virtual

Definition at line 92 of file VBoxTarget.cpp.

GDBServerFoundation::GDBStatus VBoxGDB::VBoxTarget32::Step ( int  threadID)
virtual

Definition at line 85 of file VBoxTarget.cpp.

GDBServerFoundation::GDBStatus VBoxGDB::VBoxTarget32::WriteTargetMemory ( ULONGLONG  Address,
const void *  pBuffer,
size_t  sizeInBytes 
)
virtual

Definition at line 61 of file VBoxTarget.cpp.

GDBServerFoundation::GDBStatus VBoxGDB::VBoxTarget32::WriteTargetRegisters ( int  threadID,
const RegisterSetContainer &  registers 
)
virtual

Definition at line 40 of file VBoxTarget.cpp.


The documentation for this class was generated from the following files: