ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
|
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 75 of file GDBConnection.h.
|
private |
Definition at line 72 of file GDBConnection.cpp.
References cfg_noack_.
Definition at line 166 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 150 of file GDBConnection.cpp.
References _available(), cfg_noack_, command, and snd().
Referenced by etiss::plugin::gdb::Server::handlePacket(), and rcv().
|
virtual |
Definition at line 297 of file GDBConnection.cpp.
References available(), command, and command_isnotification.
Referenced by etiss::plugin::gdb::Server::handlePacket().
Definition at line 306 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 186 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 77 of file GDBConnection.h.
|
private |
Definition at line 90 of file GDBConnection.h.
Referenced by _available(), snd(), and tryReadPacket().
|
private |
Definition at line 94 of file GDBConnection.h.
Referenced by available(), PacketProtocol(), and snd().
|
private |
Definition at line 91 of file GDBConnection.h.
Referenced by _available(), available(), rcv(), and tryReadPacket().
|
private |
Definition at line 92 of file GDBConnection.h.
Referenced by rcv(), and tryReadPacket().
|
private |
Definition at line 93 of file GDBConnection.h.
Referenced by _available(), snd(), and tryReadPacket().