gem5
v20.1.0.0
|
#include <remote_gdb.hh>
Classes | |
class | RiscvGdbRegCache |
Public Member Functions | |
RemoteGDB (System *_system, ThreadContext *tc, int _port) | |
BaseGdbRegCache * | gdbRegs () override |
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) override |
bool | checkBpLen (size_t len) override |
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 std::vector< std::string > | availableFeatures () const |
virtual bool | getXferFeaturesRead (const std::string &annex, std::string &output) |
Get an XML target description. More... | |
Protected Attributes | |
RiscvGdbRegCache | regCache |
Static Protected Attributes | |
static const int | NumGDBRegs = 4162 |
static const int | NumCSRs = 4096 |
Definition at line 46 of file remote_gdb.hh.
RemoteGDB::RemoteGDB | ( | System * | _system, |
ThreadContext * | tc, | ||
int | _port | ||
) |
Definition at line 148 of file remote_gdb.cc.
|
overrideprotectedvirtual |
Implements BaseRemoteGDB.
Definition at line 154 of file remote_gdb.cc.
References BaseRemoteGDB::context(), FullSystem, ThreadContext::getDTBPtr(), ThreadContext::getProcessPtr(), EmulationPageTable::lookup(), RiscvISA::MISCREG_SATP, NoFault, RiscvISA::PRV_M, Process::pTable, BaseTLB::Read, ThreadContext::readMiscReg(), RiscvISA::Walker::startFunctional(), ArmISA::tlb, and ArmISA::va.
|
inlineoverrideprotectedvirtual |
Reimplemented from BaseRemoteGDB.
Definition at line 54 of file remote_gdb.hh.
References ArmISA::len.
|
overridevirtual |
|
staticprotected |
Definition at line 50 of file remote_gdb.hh.
|
staticprotected |
Definition at line 49 of file remote_gdb.hh.
|
protected |
Definition at line 77 of file remote_gdb.hh.
Referenced by gdbRegs().