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

#include <remote_gdb.hh>

Inheritance diagram for RiscvISA::RemoteGDB:
BaseRemoteGDB

Classes

class  RiscvGdbRegCache
 

Public Member Functions

 RemoteGDB (System *_system, ThreadContext *tc, int _port)
 
BaseGdbRegCachegdbRegs () override
 
- 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) override
 
bool checkBpLen (size_t len) override
 
- 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 std::vector< std::string > availableFeatures () const
 
virtual bool getXferFeaturesRead (const std::string &annex, std::string &output)
 Get an XML target description. More...
 

Protected Attributes

RiscvGdbRegCache regCache
 

Static Protected Attributes

static const int NumGDBRegs = 4162
 
static const int NumCSRs = 4096
 

Detailed Description

Definition at line 46 of file remote_gdb.hh.

Constructor & Destructor Documentation

◆ RemoteGDB()

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

Definition at line 148 of file remote_gdb.cc.

Member Function Documentation

◆ acc()

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

◆ checkBpLen()

bool RiscvISA::RemoteGDB::checkBpLen ( size_t  len)
inlineoverrideprotectedvirtual

Reimplemented from BaseRemoteGDB.

Definition at line 54 of file remote_gdb.hh.

References ArmISA::len.

◆ gdbRegs()

BaseGdbRegCache * RemoteGDB::gdbRegs ( )
overridevirtual

Implements BaseRemoteGDB.

Definition at line 197 of file remote_gdb.cc.

References regCache.

Member Data Documentation

◆ NumCSRs

const int RiscvISA::RemoteGDB::NumCSRs = 4096
staticprotected

Definition at line 50 of file remote_gdb.hh.

◆ NumGDBRegs

const int RiscvISA::RemoteGDB::NumGDBRegs = 4162
staticprotected

Definition at line 49 of file remote_gdb.hh.

◆ regCache

RiscvGdbRegCache RiscvISA::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:08 for gem5 by doxygen 1.8.17