gem5  v20.1.0.0
Functions
The RemoteGDB API.

These methods relate to the BaseRemoteGDB and BaseGdbRegCache interfaces. More...

Functions

virtual char * BaseGdbRegCache::data () const =0
 Return the pointer to the raw bytes buffer containing the register values. More...
 
virtual size_t BaseGdbRegCache::size () const =0
 Return the size of the raw buffer, in bytes (i.e., half of the number of digits in the g/G packet). More...
 
virtual void BaseGdbRegCache::getRegs (ThreadContext *)=0
 Fill the raw buffer from the registers in the ThreadContext. More...
 
virtual void BaseGdbRegCache::setRegs (ThreadContext *) const =0
 Set the ThreadContext's registers from the values in the raw buffer. More...
 
virtual const std::string BaseGdbRegCache::name () const =0
 Return the name to use in places like DPRINTF. More...
 
 BaseGdbRegCache::BaseGdbRegCache (BaseRemoteGDB *g)
 
 BaseRemoteGDB::BaseRemoteGDB (System *system, ThreadContext *context, int _port)
 Interface to other parts of the simulator. More...
 
virtual BaseRemoteGDB::~BaseRemoteGDB ()
 
std::string BaseRemoteGDB::name ()
 
void BaseRemoteGDB::listen ()
 
void BaseRemoteGDB::connect ()
 
int BaseRemoteGDB::port () const
 
void BaseRemoteGDB::attach (int fd)
 
void BaseRemoteGDB::detach ()
 
bool BaseRemoteGDB::isAttached ()
 
void BaseRemoteGDB::replaceThreadContext (ThreadContext *_tc)
 
bool BaseRemoteGDB::trap (int type)
 
bool BaseRemoteGDB::breakpoint ()
 

Detailed Description

These methods relate to the BaseRemoteGDB and BaseGdbRegCache interfaces.

Function Documentation

◆ attach()

void BaseRemoteGDB::attach ( int  fd)

◆ BaseGdbRegCache()

BaseGdbRegCache::BaseGdbRegCache ( BaseRemoteGDB g)
inline

Definition at line 119 of file remote_gdb.hh.

◆ BaseRemoteGDB()

BaseRemoteGDB::BaseRemoteGDB ( System system,
ThreadContext context,
int  _port 
)

Interface to other parts of the simulator.

Definition at line 317 of file remote_gdb.cc.

References debuggers.

◆ breakpoint()

bool BaseRemoteGDB::breakpoint ( )
inline

Definition at line 158 of file remote_gdb.hh.

References BaseRemoteGDB::trap().

◆ connect()

void BaseRemoteGDB::connect ( )

◆ data()

virtual char* BaseGdbRegCache::data ( ) const
pure virtual

◆ detach()

void BaseRemoteGDB::detach ( )

◆ getRegs()

virtual void BaseGdbRegCache::getRegs ( ThreadContext )
pure virtual

◆ isAttached()

bool BaseRemoteGDB::isAttached ( )
inline

Definition at line 153 of file remote_gdb.hh.

References BaseRemoteGDB::attached.

Referenced by BaseRemoteGDB::connect().

◆ listen()

void BaseRemoteGDB::listen ( )

◆ name() [1/2]

string BaseRemoteGDB::name ( )

◆ name() [2/2]

virtual const std::string BaseGdbRegCache::name ( ) const
pure virtual

◆ port()

int BaseRemoteGDB::port ( ) const

◆ replaceThreadContext()

void BaseRemoteGDB::replaceThreadContext ( ThreadContext _tc)
inline

Definition at line 155 of file remote_gdb.hh.

References BaseRemoteGDB::tc.

◆ setRegs()

virtual void BaseGdbRegCache::setRegs ( ThreadContext ) const
pure virtual

◆ size()

virtual size_t BaseGdbRegCache::size ( ) const
pure virtual

◆ trap()

bool BaseRemoteGDB::trap ( int  type)

◆ ~BaseRemoteGDB()

virtual BaseRemoteGDB::~BaseRemoteGDB ( )
virtual

Generated on Wed Sep 30 2020 14:02:20 for gem5 by doxygen 1.8.17