ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
Public Member Functions | Protected Attributes | Private Attributes | Friends | List of all members
etiss::plugin::gdb::Connection Class Referenceabstract

interface for gdb connections. More...

#include <GDBConnection.h>

Collaboration diagram for etiss::plugin::gdb::Connection:
Collaboration graph
[legend]

Public Member Functions

 Connection ()
 
virtual ~Connection ()
 
virtual bool available ()=0
 
virtual std::string rcv ()=0
 
virtual bool snd (std::string answer)=0
 
virtual PacketProtocolgetPacketProtocol ()
 
virtual bool isRelyable ()
 
virtual bool pendingBREAK ()
 
virtual void clearBREAK ()
 

Protected Attributes

bool pending_break_
 

Private Attributes

PacketProtocol packproc_
 

Friends

class PacketProtocol
 

Detailed Description

interface for gdb connections.

implemented by UnixTCPGDBConnection.h . use PacketProtocol (Connection::getPacketProtocol) for communication with gdb

Definition at line 101 of file GDBConnection.h.

Constructor & Destructor Documentation

◆ Connection()

Connection::Connection ( )

Definition at line 64 of file GDBConnection.cpp.

◆ ~Connection()

Connection::~Connection ( )
virtual

Definition at line 65 of file GDBConnection.cpp.

Member Function Documentation

◆ available()

virtual bool etiss::plugin::gdb::Connection::available ( )
pure virtual

Referenced by etiss::plugin::gdb::PacketProtocol::_available(), and etiss::plugin::gdb::PacketProtocol::snd().

Here is the caller graph for this function:

◆ clearBREAK()

void Connection::clearBREAK ( )
virtual

Definition at line 365 of file GDBConnection.cpp.

References pending_break_.

Referenced by etiss::plugin::gdb::PacketProtocol::tryReadPacket().

Here is the caller graph for this function:

◆ getPacketProtocol()

PacketProtocol & Connection::getPacketProtocol ( )
virtual

Definition at line 67 of file GDBConnection.cpp.

References packproc_.

◆ isRelyable()

bool Connection::isRelyable ( )
virtual

Definition at line 357 of file GDBConnection.cpp.

◆ pendingBREAK()

bool Connection::pendingBREAK ( )
virtual

Definition at line 361 of file GDBConnection.cpp.

References pending_break_.

Referenced by etiss::plugin::gdb::PacketProtocol::tryReadPacket().

Here is the caller graph for this function:

◆ rcv()

virtual std::string etiss::plugin::gdb::Connection::rcv ( )
pure virtual

Referenced by etiss::plugin::gdb::PacketProtocol::_available(), and etiss::plugin::gdb::PacketProtocol::snd().

Here is the caller graph for this function:

◆ snd()

virtual bool etiss::plugin::gdb::Connection::snd ( std::string  answer)
pure virtual

Referenced by etiss::plugin::gdb::PacketProtocol::snd(), and etiss::plugin::gdb::PacketProtocol::tryReadPacket().

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ PacketProtocol

friend class PacketProtocol
friend

Definition at line 103 of file GDBConnection.h.

Member Data Documentation

◆ packproc_

PacketProtocol etiss::plugin::gdb::Connection::packproc_
private

Definition at line 120 of file GDBConnection.h.

Referenced by getPacketProtocol().

◆ pending_break_

bool etiss::plugin::gdb::Connection::pending_break_
protected

Definition at line 117 of file GDBConnection.h.

Referenced by clearBREAK(), and pendingBREAK().


The documentation for this class was generated from the following files: