|
gem5
v20.1.0.5
|
#include <remote_gdb.hh>
Classes | |
| class | AArch32GdbRegCache |
| class | AArch64GdbRegCache |
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 | |
| AArch32GdbRegCache | regCache32 |
| AArch64GdbRegCache | regCache64 |
Definition at line 60 of file remote_gdb.hh.
| RemoteGDB::RemoteGDB | ( | System * | _system, |
| ThreadContext * | tc, | ||
| int | _port | ||
| ) |
Definition at line 189 of file remote_gdb.cc.
|
protectedvirtual |
Implements BaseRemoteGDB.
Definition at line 198 of file remote_gdb.cc.
References BaseRemoteGDB::context(), ChunkGenerator::done(), DPRINTF, FullSystem, ThreadContext::getProcessPtr(), ArmISA::len, EmulationPageTable::lookup(), ArmISA::PageBytes, Process::pTable, tryTranslate(), and ArmISA::va.
|
inlinevirtual |
Reimplemented from BaseRemoteGDB.
Definition at line 119 of file remote_gdb.hh.
|
virtual |
Implements BaseRemoteGDB.
Definition at line 355 of file remote_gdb.cc.
References BaseRemoteGDB::context(), ArmISA::inAArch64(), regCache32, and regCache64.
|
virtual |
Get an XML target description.
| [in] | annex | the XML filename |
| [out] | output | set to the decoded XML |
Reimplemented from BaseRemoteGDB.
Definition at line 330 of file remote_gdb.cc.
References BaseRemoteGDB::context(), GDB_XML, ArmISA::inAArch64(), and output().
|
protected |
Definition at line 112 of file remote_gdb.hh.
Referenced by gdbRegs().
|
protected |
Definition at line 113 of file remote_gdb.hh.
Referenced by gdbRegs().