gem5
v20.1.0.0
|
#include <remote_gdb.hh>
Classes | |
class | MipsGdbRegCache |
Public Member Functions | |
RemoteGDB (System *_system, ThreadContext *tc, int _port) | |
BaseGdbRegCache * | gdbRegs () |
std::vector< std::string > | availableFeatures () const |
bool | getXferFeaturesRead (const std::string &annex, std::string &output) |
Get an XML target description. More... | |
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) |
Protected Attributes | |
MipsGdbRegCache | regCache |
Definition at line 44 of file remote_gdb.hh.
RemoteGDB::RemoteGDB | ( | System * | _system, |
ThreadContext * | tc, | ||
int | _port | ||
) |
Definition at line 149 of file remote_gdb.cc.
|
protectedvirtual |
Implements BaseRemoteGDB.
Definition at line 158 of file remote_gdb.cc.
References BaseRemoteGDB::context(), FullSystem, ThreadContext::getProcessPtr(), EmulationPageTable::lookup(), panic_if, Process::pTable, and ArmISA::va.
|
inlinevirtual |
Reimplemented from BaseRemoteGDB.
Definition at line 83 of file remote_gdb.hh.
|
virtual |
|
virtual |
Get an XML target description.
[in] | annex | the XML filename |
[out] | output | set to the decoded XML |
Reimplemented from BaseRemoteGDB.
Definition at line 207 of file remote_gdb.cc.
|
protected |
Definition at line 77 of file remote_gdb.hh.
Referenced by gdbRegs().