gem5
v20.1.0.0
|
#include <remote_gdb.hh>
Classes | |
class | SPARC64GdbRegCache |
class | SPARCGdbRegCache |
Public Member Functions | |
RemoteGDB (System *_system, ThreadContext *tc, int _port) | |
BaseGdbRegCache * | gdbRegs () |
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 | |
ThreadContext * | context () |
System * | system () |
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) |
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 | |
SPARCGdbRegCache | regCache32 |
SPARC64GdbRegCache | regCache64 |
Definition at line 43 of file remote_gdb.hh.
RemoteGDB::RemoteGDB | ( | System * | _system, |
ThreadContext * | tc, | ||
int | _port | ||
) |
Definition at line 146 of file remote_gdb.cc.
|
protectedvirtual |
Implements BaseRemoteGDB.
Definition at line 156 of file remote_gdb.cc.
References BaseRemoteGDB::context(), FullSystem, ThreadContext::getProcessPtr(), EmulationPageTable::lookup(), Process::pTable, and ArmISA::va.
|
virtual |
Implements BaseRemoteGDB.
Definition at line 239 of file remote_gdb.cc.
References BaseRemoteGDB::context(), SparcISA::MISCREG_PSTATE, ThreadContext::readMiscReg(), regCache32, and regCache64.
|
protected |
Definition at line 102 of file remote_gdb.hh.
Referenced by gdbRegs().
|
protected |
Definition at line 103 of file remote_gdb.hh.
Referenced by gdbRegs().