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

#include <remote_gdb.hh>

Inheritance diagram for gem5::PowerISA::RemoteGDB:
gem5::BaseRemoteGDB

Classes

class  Power64GdbRegCache
 
class  PowerGdbRegCache
 

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, const std::string &stopReason="")
 
bool sendMessage (std::string message)
 
void scheduleTrapEvent (ContextID id, int type, int delta, std::string stopReason)
 

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 checkBpKind (size_t kind)
 

Protected Attributes

PowerGdbRegCache regCache32
 
Power64GdbRegCache regCache64
 

Additional Inherited Members

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

Detailed Description

Definition at line 48 of file remote_gdb.hh.

Constructor & Destructor Documentation

◆ RemoteGDB()

gem5::PowerISA::RemoteGDB::RemoteGDB ( System _system,
int  _port 
)

Member Function Documentation

◆ acc()

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

Implements gem5::BaseRemoteGDB.

◆ availableFeatures()

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

Reimplemented from gem5::BaseRemoteGDB.

Definition at line 119 of file remote_gdb.hh.

◆ gdbRegs()

BaseGdbRegCache* gem5::PowerISA::RemoteGDB::gdbRegs ( )
virtual

Implements gem5::BaseRemoteGDB.

◆ getXferFeaturesRead()

bool gem5::PowerISA::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 gem5::BaseRemoteGDB.

Member Data Documentation

◆ regCache32

PowerGdbRegCache gem5::PowerISA::RemoteGDB::regCache32
protected

Definition at line 111 of file remote_gdb.hh.

◆ regCache64

Power64GdbRegCache gem5::PowerISA::RemoteGDB::regCache64
protected

Definition at line 112 of file remote_gdb.hh.


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

Generated on Wed Dec 21 2022 10:24:19 for gem5 by doxygen 1.9.1