|
gem5
v22.1.0.0
|
#include <remote_gdb.hh>
Classes | |
| class | RiscvGdbRegCache |
Public Member Functions | |
| RemoteGDB (System *_system, int _port) | |
| BaseGdbRegCache * | gdbRegs () override |
| std::vector< std::string > | availableFeatures () const override |
| Informs GDB remote serial protocol that XML features are supported GDB then queries for xml blobs using qXfer:features:read:xxx.xml. More... | |
| bool | getXferFeaturesRead (const std::string &annex, std::string &output) override |
| Reply to qXfer:features:read:xxx.xml qeuries. More... | |
Public Member Functions inherited from gem5::BaseRemoteGDB | |
| bool | breakpoint () |
| void | replaceThreadContext (ThreadContext *tc) |
| bool | trap (ContextID id, int type) |
| virtual | ~BaseRemoteGDB () |
| BaseRemoteGDB (System *system, 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 | addThreadContext (ThreadContext *_tc) |
| void | replaceThreadContext (ThreadContext *_tc) |
| bool | selectThreadContext (ContextID id) |
| void | trap (ContextID id, int signum, const std::string &stopReason="") |
| bool | sendMessage (std::string message) |
| void | scheduleTrapEvent (ContextID id, int type, int delta, std::string stopReason) |
Protected Member Functions | |
| bool | acc (Addr addr, size_t len) override |
| bool | checkBpKind (size_t kind) override |
Protected Member Functions inherited from gem5::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 |
Protected Attributes | |
| RiscvGdbRegCache | regCache |
Static Protected Attributes | |
| static const int | NumGDBRegs = 4162 |
| static const int | NumCSRs = 4096 |
Additional Inherited Members | |
Static Public Member Functions inherited from gem5::BaseRemoteGDB | |
| template<class GDBStub , class ... Args> | |
| static BaseRemoteGDB * | build (int port, Args... args) |
Definition at line 51 of file remote_gdb.hh.
| gem5::RiscvISA::RemoteGDB::RemoteGDB | ( | System * | _system, |
| int | _port | ||
| ) |
|
overrideprotectedvirtual |
Implements gem5::BaseRemoteGDB.
|
inlineoverridevirtual |
Informs GDB remote serial protocol that XML features are supported GDB then queries for xml blobs using qXfer:features:read:xxx.xml.
Reimplemented from gem5::BaseRemoteGDB.
Definition at line 155 of file remote_gdb.hh.
|
inlineoverrideprotectedvirtual |
Reimplemented from gem5::BaseRemoteGDB.
Definition at line 59 of file remote_gdb.hh.
|
overridevirtual |
Implements gem5::BaseRemoteGDB.
|
overridevirtual |
Reply to qXfer:features:read:xxx.xml qeuries.
Reimplemented from gem5::BaseRemoteGDB.
|
staticprotected |
Definition at line 55 of file remote_gdb.hh.
|
staticprotected |
Definition at line 54 of file remote_gdb.hh.
|
protected |
Definition at line 145 of file remote_gdb.hh.