gem5  v22.1.0.0
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)
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)
bool checkBpKind (size_t kind)
- 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 (int port, 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.

◆ checkBpKind()

bool gem5::X86ISA::RemoteGDB::checkBpKind ( size_t  kind)

Reimplemented from gem5::BaseRemoteGDB.

Definition at line 61 of file remote_gdb.hh.

◆ 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 Wed Dec 21 2022 10:25:05 for gem5 by doxygen 1.9.1