|
ETISS 0.11.2
ExtendableTranslatingInstructionSetSimulator(version0.11.2)
|
implements gdb's packet protocol More...
#include <GDBConnection.h>

Public Member Functions | |
| virtual bool | available (bool block=false) |
| virtual std::string | rcv (bool &isnotification) |
| virtual bool | snd (std::string answer, bool isnotification) |
Private Member Functions | |
| PacketProtocol (Connection &connection) | |
| virtual bool | _available (bool block) |
| virtual void | tryReadPacket () |
Private Attributes | |
| std::string | buffer |
| std::string | command |
| bool | command_isnotification |
| Connection & | con |
| bool | cfg_noack_ |
Friends | |
| class | Connection |
implements gdb's packet protocol
Definition at line 37 of file GDBConnection.h.
|
private |
Definition at line 34 of file GDBConnection.cpp.
References cfg_noack_.
Definition at line 128 of file GDBConnection.cpp.
References etiss::plugin::gdb::Connection::available(), buffer, command, con, etiss::plugin::gdb::Connection::rcv(), and tryReadPacket().
Referenced by available().


Definition at line 112 of file GDBConnection.cpp.
References _available(), cfg_noack_, command, and snd().
Referenced by etiss::plugin::gdb::Server::handlePacket(), and rcv().


|
virtual |
Definition at line 259 of file GDBConnection.cpp.
References available(), command, and command_isnotification.
Referenced by etiss::plugin::gdb::Server::handlePacket().


Definition at line 268 of file GDBConnection.cpp.
References etiss::plugin::gdb::Connection::available(), buffer, cfg_noack_, con, etiss::plugin::gdb::hex::fromByte(), PacketProtocol_findResponse(), etiss::plugin::gdb::Connection::rcv(), etiss::plugin::gdb::Connection::snd(), stream_code_info, and uint8_t.
Referenced by available(), etiss::plugin::gdb::Server::handlePacket(), etiss::plugin::gdb::Server::postMemAccessCallback(), and etiss::plugin::gdb::Server::preInstructionCallback().


|
privatevirtual |
Definition at line 148 of file GDBConnection.cpp.
References buffer, etiss::plugin::gdb::Connection::clearBREAK(), command, command_isnotification, con, int, PacketProtocol_findUE(), etiss::plugin::gdb::Connection::pendingBREAK(), etiss::plugin::gdb::Connection::snd(), stream_code_info, etiss::plugin::gdb::hex::toByte(), and uint8_t.
Referenced by _available().


|
friend |
Definition at line 39 of file GDBConnection.h.
|
private |
Definition at line 52 of file GDBConnection.h.
Referenced by _available(), snd(), and tryReadPacket().
|
private |
Definition at line 56 of file GDBConnection.h.
Referenced by available(), PacketProtocol(), and snd().
|
private |
Definition at line 53 of file GDBConnection.h.
Referenced by _available(), available(), rcv(), and tryReadPacket().
|
private |
Definition at line 54 of file GDBConnection.h.
Referenced by rcv(), and tryReadPacket().
|
private |
Definition at line 55 of file GDBConnection.h.
Referenced by _available(), snd(), and tryReadPacket().