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

#include <remote_gdb.hh>

Inheritance diagram for X86ISA::RemoteGDB:
BaseRemoteGDB

Classes

class  AMD64GdbRegCache
 
class  X86GdbRegCache
 

Public Member Functions

 RemoteGDB (System *system, ThreadContext *context, int _port)
 
BaseGdbRegCachegdbRegs ()
 
- 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)
 
bool checkBpLen (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 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
 

Detailed Description

Definition at line 53 of file remote_gdb.hh.

Constructor & Destructor Documentation

◆ RemoteGDB()

RemoteGDB::RemoteGDB ( System system,
ThreadContext context,
int  _port 
)

Definition at line 63 of file remote_gdb.cc.

Member Function Documentation

◆ acc()

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

◆ checkBpLen()

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

Reimplemented from BaseRemoteGDB.

Definition at line 57 of file remote_gdb.hh.

References ArmISA::len.

◆ gdbRegs()

BaseGdbRegCache * RemoteGDB::gdbRegs ( )
virtual

Member Data Documentation

◆ regCache32

X86GdbRegCache X86ISA::RemoteGDB::regCache32
protected

Definition at line 139 of file remote_gdb.hh.

Referenced by gdbRegs().

◆ regCache64

AMD64GdbRegCache X86ISA::RemoteGDB::regCache64
protected

Definition at line 140 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:03:15 for gem5 by doxygen 1.8.17