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

#include <remote_gdb.hh>

Inheritance diagram for ArmISA::RemoteGDB:


class  AArch32GdbRegCache
class  AArch64GdbRegCache

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

AArch32GdbRegCache regCache32
AArch64GdbRegCache regCache64

Detailed Description

Definition at line 60 of file remote_gdb.hh.

Constructor & Destructor Documentation

◆ RemoteGDB()

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

Definition at line 189 of file

Member Function Documentation

◆ acc()

bool RemoteGDB::acc ( Addr  addr,
size_t  len 

◆ availableFeatures()

std::vector<std::string> ArmISA::RemoteGDB::availableFeatures ( ) const

Reimplemented from BaseRemoteGDB.

Definition at line 119 of file remote_gdb.hh.

◆ gdbRegs()

BaseGdbRegCache * RemoteGDB::gdbRegs ( )

Implements BaseRemoteGDB.

Definition at line 355 of file

References BaseRemoteGDB::context(), ArmISA::inAArch64(), regCache32, and regCache64.

◆ getXferFeaturesRead()

bool 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 BaseRemoteGDB.

Definition at line 330 of file

References BaseRemoteGDB::context(), GDB_XML, ArmISA::inAArch64(), and output().

Member Data Documentation

◆ regCache32

AArch32GdbRegCache ArmISA::RemoteGDB::regCache32

Definition at line 112 of file remote_gdb.hh.

Referenced by gdbRegs().

◆ regCache64

AArch64GdbRegCache ArmISA::RemoteGDB::regCache64

Definition at line 113 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:02:37 for gem5 by doxygen 1.8.17