gem5  v21.1.0.2
Functions
The RemoteGDB API.

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

Functions

virtual char * gem5::BaseGdbRegCache::data () const =0
 Return the pointer to the raw bytes buffer containing the register values. More...
 
virtual size_t gem5::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 gem5::BaseGdbRegCache::getRegs (ThreadContext *)=0
 Fill the raw buffer from the registers in the ThreadContext. More...
 
virtual void gem5::BaseGdbRegCache::setRegs (ThreadContext *) const =0
 Set the ThreadContext's registers from the values in the raw buffer. More...
 
virtual const std::string gem5::BaseGdbRegCache::name () const =0
 Return the name to use in places like DPRINTF. More...
 
 gem5::BaseGdbRegCache::BaseGdbRegCache (BaseRemoteGDB *g)
 
 gem5::BaseRemoteGDB::BaseRemoteGDB (System *system, int _port)
 Interface to other parts of the simulator. More...
 
virtual gem5::BaseRemoteGDB::~BaseRemoteGDB ()
 
std::string gem5::BaseRemoteGDB::name ()
 
void gem5::BaseRemoteGDB::listen ()
 
void gem5::BaseRemoteGDB::connect ()
 
int gem5::BaseRemoteGDB::port () const
 
void gem5::BaseRemoteGDB::attach (int fd)
 
void gem5::BaseRemoteGDB::detach ()
 
bool gem5::BaseRemoteGDB::isAttached ()
 
void gem5::BaseRemoteGDB::addThreadContext (ThreadContext *_tc)
 
void gem5::BaseRemoteGDB::replaceThreadContext (ThreadContext *_tc)
 
bool gem5::BaseRemoteGDB::selectThreadContext (ContextID id)
 
bool gem5::BaseRemoteGDB::trap (ContextID id, int type)
 

Detailed Description

These methods relate to the BaseRemoteGDB and BaseGdbRegCache interfaces.

Function Documentation

◆ addThreadContext()

void gem5::BaseRemoteGDB::addThreadContext ( ThreadContext _tc)

◆ attach()

void gem5::BaseRemoteGDB::attach ( int  fd)

◆ BaseGdbRegCache()

gem5::BaseGdbRegCache::BaseGdbRegCache ( BaseRemoteGDB g)
inline

Definition at line 134 of file remote_gdb.hh.

◆ BaseRemoteGDB()

gem5::BaseRemoteGDB::BaseRemoteGDB ( System system,
int  _port 
)

Interface to other parts of the simulator.

Definition at line 356 of file remote_gdb.cc.

◆ connect()

void gem5::BaseRemoteGDB::connect ( )

◆ data()

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

◆ detach()

void gem5::BaseRemoteGDB::detach ( )

◆ getRegs()

virtual void gem5::BaseGdbRegCache::getRegs ( ThreadContext )
pure virtual

◆ isAttached()

bool gem5::BaseRemoteGDB::isAttached ( )
inline

Definition at line 168 of file remote_gdb.hh.

References gem5::BaseRemoteGDB::attached.

Referenced by gem5::BaseRemoteGDB::connect().

◆ listen()

void gem5::BaseRemoteGDB::listen ( )

◆ name() [1/2]

std::string gem5::BaseRemoteGDB::name ( )

◆ name() [2/2]

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

◆ port()

int gem5::BaseRemoteGDB::port ( ) const

◆ replaceThreadContext()

void gem5::BaseRemoteGDB::replaceThreadContext ( ThreadContext _tc)

◆ selectThreadContext()

bool gem5::BaseRemoteGDB::selectThreadContext ( ContextID  id)

◆ setRegs()

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

◆ size()

virtual size_t gem5::BaseGdbRegCache::size ( ) const
pure virtual

◆ trap()

bool gem5::BaseRemoteGDB::trap ( ContextID  id,
int  type 
)

◆ ~BaseRemoteGDB()

virtual gem5::BaseRemoteGDB::~BaseRemoteGDB ( )
virtual

Generated on Tue Sep 21 2021 12:27:01 for gem5 by doxygen 1.8.17