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

#include <remote_gdb.hh>

Inheritance diagram for gem5::ArmISA::RemoteGDB:


class  AArch32GdbRegCache
class  AArch64GdbRegCache

Public Member Functions

 RemoteGDB (System *_system, int _port)
BaseGdbRegCachegdbRegs () override
bool checkBpLen (size_t len) override
std::vector< std::string > availableFeatures () const override
bool getXferFeaturesRead (const std::string &annex, std::string &output) override
 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) override
- 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

Protected Attributes

AArch32GdbRegCache regCache32
AArch64GdbRegCache regCache64

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 63 of file remote_gdb.hh.

Constructor & Destructor Documentation

◆ RemoteGDB()

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

Definition at line 190 of file

Member Function Documentation

◆ acc()

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

◆ availableFeatures()

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

Reimplemented from gem5::BaseRemoteGDB.

Definition at line 125 of file remote_gdb.hh.

◆ checkBpLen()

bool gem5::RemoteGDB::checkBpLen ( size_t  len)

Reimplemented from gem5::BaseRemoteGDB.

Definition at line 365 of file

References gem5::ArmISA::len.

◆ gdbRegs()

BaseGdbRegCache * gem5::RemoteGDB::gdbRegs ( )

◆ getXferFeaturesRead()

bool gem5::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

Blobs e.g. gdb_xml_riscv_target are generated by adding GdbXml(<xml_file_name>, <blob_name>) to src/arch/riscv/Sconscript.

Import using #include blobs/<blob_name>.hh

Reimplemented from gem5::BaseRemoteGDB.

Definition at line 331 of file

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

Member Data Documentation

◆ regCache32

AArch32GdbRegCache gem5::ArmISA::RemoteGDB::regCache32

Definition at line 117 of file remote_gdb.hh.

Referenced by gdbRegs().

◆ regCache64

AArch64GdbRegCache gem5::ArmISA::RemoteGDB::regCache64

Definition at line 118 of file remote_gdb.hh.

Referenced by gdbRegs().

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

Generated on Wed May 4 2022 12:14:57 for gem5 by doxygen 1.8.17