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

#include <remote_gdb.hh>

Inheritance diagram for MipsISA::RemoteGDB:
BaseRemoteGDB

Classes

class  MipsGdbRegCache
 

Public Member Functions

 RemoteGDB (System *_system, ThreadContext *tc, 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 BaseRemoteGDB
bool breakpoint ()
 
void replaceThreadContext (ThreadContext *tc)
 
virtual ~BaseRemoteGDB ()
 
 BaseRemoteGDB (System *system, ThreadContext *context, 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 replaceThreadContext (ThreadContext *_tc)
 
bool trap (int type)
 
bool breakpoint ()
 

Protected Member Functions

bool acc (Addr addr, size_t len)
 
- Protected Member Functions inherited from 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
 

Detailed Description

Definition at line 44 of file remote_gdb.hh.

Constructor & Destructor Documentation

◆ RemoteGDB()

RemoteGDB::RemoteGDB ( System _system,
ThreadContext tc,
int  _port 
)

Definition at line 149 of file remote_gdb.cc.

Member Function Documentation

◆ acc()

bool RemoteGDB::acc ( Addr  addr,
size_t  len 
)
protectedvirtual

◆ availableFeatures()

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

Reimplemented from BaseRemoteGDB.

Definition at line 83 of file remote_gdb.hh.

◆ gdbRegs()

BaseGdbRegCache * RemoteGDB::gdbRegs ( )
virtual

Implements BaseRemoteGDB.

Definition at line 201 of file remote_gdb.cc.

References regCache.

◆ getXferFeaturesRead()

bool RemoteGDB::getXferFeaturesRead ( const std::string &  annex,
std::string &  output 
)
virtual

Get an XML target description.

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

Reimplemented from BaseRemoteGDB.

Definition at line 207 of file remote_gdb.cc.

References GDB_XML, and output().

Member Data Documentation

◆ regCache

MipsGdbRegCache MipsISA::RemoteGDB::regCache
protected

Definition at line 77 of file remote_gdb.hh.

Referenced by gdbRegs().


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

Generated on Wed Sep 30 2020 14:03:07 for gem5 by doxygen 1.8.17