gem5  v21.2.0.0
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
gem5::MipsISA::RemoteGDB Class Reference

#include <remote_gdb.hh>

Inheritance diagram for gem5::MipsISA::RemoteGDB:


class  MipsGdbRegCache

Public Member Functions

 RemoteGDB (System *_system, int _port)
BaseGdbRegCachegdbRegs ()
std::vector< std::string > availableFeatures () const
bool getXferFeaturesRead (const std::string &annex, std::string &output)
 Get an XML target description. More...
- Public Member Functions inherited from gem5::BaseRemoteGDB
bool breakpoint ()
void replaceThreadContext (ThreadContext *tc)
bool trap (ContextID id, int type)
virtual ~BaseRemoteGDB ()
 BaseRemoteGDB (System *system, int _port)
 Interface to other parts of the simulator. More...
virtual ~BaseRemoteGDB ()
std::string name ()
void listen ()
void connect ()
int port () const
void attach (int fd)
void detach ()
bool isAttached ()
void addThreadContext (ThreadContext *_tc)
void replaceThreadContext (ThreadContext *_tc)
bool selectThreadContext (ContextID id)
void trap (ContextID id, int signum)

Protected Member Functions

bool acc (Addr addr, size_t len)
- Protected Member Functions inherited from gem5::BaseRemoteGDB
ThreadContextcontext ()
Systemsystem ()
void encodeBinaryData (const std::string &unencoded, std::string &encoded) const
void encodeXferResponse (const std::string &unencoded, std::string &encoded, size_t offset, size_t unencoded_length) const
virtual bool checkBpLen (size_t len)

Protected Attributes

MipsGdbRegCache regCache

Additional Inherited Members

- Static Public Member Functions inherited from gem5::BaseRemoteGDB
template<class GDBStub , class ... Args>
static BaseRemoteGDBbuild (Args... args)

Detailed Description

Definition at line 46 of file remote_gdb.hh.

Constructor & Destructor Documentation

◆ RemoteGDB()

gem5::MipsISA::RemoteGDB::RemoteGDB ( System _system,
int  _port 

Member Function Documentation

◆ acc()

bool gem5::MipsISA::RemoteGDB::acc ( Addr  addr,
size_t  len 

Implements gem5::BaseRemoteGDB.

◆ availableFeatures()

std::vector<std::string> gem5::MipsISA::RemoteGDB::availableFeatures ( ) const

Reimplemented from gem5::BaseRemoteGDB.

Definition at line 86 of file remote_gdb.hh.

◆ gdbRegs()

BaseGdbRegCache* gem5::MipsISA::RemoteGDB::gdbRegs ( )

Implements gem5::BaseRemoteGDB.

◆ getXferFeaturesRead()

bool gem5::MipsISA::RemoteGDB::getXferFeaturesRead ( const std::string &  annex,
std::string &  output 

Get an XML target description.

[in]annexthe XML filename
[out]outputset to the decoded XML
true if the given annex was found

Reimplemented from gem5::BaseRemoteGDB.

Member Data Documentation

◆ regCache

MipsGdbRegCache gem5::MipsISA::RemoteGDB::regCache

Definition at line 80 of file remote_gdb.hh.

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

Generated on Tue Dec 21 2021 11:36:14 for gem5 by doxygen 1.8.17