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

#include <remote_gdb.hh>

Inheritance diagram for gem5::X86ISA::RemoteGDB:


class  AMD64GdbRegCache
class  X86GdbRegCache

Public Member Functions

 RemoteGDB (System *system, int _port)
BaseGdbRegCachegdbRegs ()
- 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)
bool trap (ContextID id, int type)

Protected Member Functions

bool acc (Addr addr, size_t len)
bool checkBpLen (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 std::vector< std::string > availableFeatures () const
virtual bool getXferFeaturesRead (const std::string &annex, std::string &output)
 Get an XML target description. More...

Protected Attributes

X86GdbRegCache regCache32
AMD64GdbRegCache 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 57 of file remote_gdb.hh.

Constructor & Destructor Documentation

◆ RemoteGDB()

gem5::X86ISA::RemoteGDB::RemoteGDB ( System system,
int  _port 

Member Function Documentation

◆ acc()

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

Implements gem5::BaseRemoteGDB.

◆ checkBpLen()

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

Reimplemented from gem5::BaseRemoteGDB.

Definition at line 61 of file remote_gdb.hh.

References gem5::ArmISA::len.

◆ gdbRegs()

BaseGdbRegCache* gem5::X86ISA::RemoteGDB::gdbRegs ( )

Implements gem5::BaseRemoteGDB.

Member Data Documentation

◆ regCache32

X86GdbRegCache gem5::X86ISA::RemoteGDB::regCache32

Definition at line 145 of file remote_gdb.hh.

◆ regCache64

AMD64GdbRegCache gem5::X86ISA::RemoteGDB::regCache64

Definition at line 146 of file remote_gdb.hh.

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

Generated on Tue Sep 21 2021 12:34:58 for gem5 by doxygen 1.8.17