|
gem5
v21.0.1.0
|
#include <remote_gdb.hh>
Classes | |
| class | AMD64GdbRegCache |
| class | X86GdbRegCache |
Public Member Functions | |
| RemoteGDB (System *system, ThreadContext *context, 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) |
| bool | checkBpLen (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 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 |
Definition at line 53 of file remote_gdb.hh.
| RemoteGDB::RemoteGDB | ( | System * | system, |
| ThreadContext * | context, | ||
| int | _port | ||
| ) |
Definition at line 63 of file remote_gdb.cc.
|
protectedvirtual |
Implements BaseRemoteGDB.
Definition at line 68 of file remote_gdb.cc.
References BaseRemoteGDB::context(), FullSystem, ThreadContext::getMMUPtr(), ThreadContext::getProcessPtr(), ArmISA::len, EmulationPageTable::lookup(), X86ISA::mask, NoFault, Process::pTable, BaseTLB::Read, X86ISA::Walker::startFunctional(), and ArmISA::va.
|
inlineprotectedvirtual |
Reimplemented from BaseRemoteGDB.
Definition at line 57 of file remote_gdb.hh.
References ArmISA::len.
|
virtual |
Implements BaseRemoteGDB.
Definition at line 92 of file remote_gdb.cc.
References BaseRemoteGDB::context(), X86ISA::MISCREG_M5_REG, ThreadContext::readMiscRegNoEffect(), regCache32, regCache64, and X86ISA::SixtyFourBitMode.
|
protected |
Definition at line 139 of file remote_gdb.hh.
Referenced by gdbRegs().
|
protected |
Definition at line 140 of file remote_gdb.hh.
Referenced by gdbRegs().