gem5
|
#include <remote_gdb.hh>
Classes | |
class | InputEvent |
Public Member Functions | |
GDBListener (BaseRemoteGDB *g, int p) | |
~GDBListener () | |
void | accept () |
void | listen () |
std::string | name () |
Protected Attributes | |
InputEvent * | inputEvent |
ListenSocket | listener |
BaseRemoteGDB * | gdb |
int | port |
Friends | |
class | InputEvent |
Definition at line 339 of file remote_gdb.hh.
GDBListener::GDBListener | ( | BaseRemoteGDB * | g, |
int | p | ||
) |
Definition at line 189 of file remote_gdb.cc.
References gdb, and BaseRemoteGDB::listener.
GDBListener::~GDBListener | ( | ) |
Definition at line 196 of file remote_gdb.cc.
References inputEvent.
void GDBListener::accept | ( | ) |
Definition at line 238 of file remote_gdb.cc.
References ListenSocket::accept(), BaseRemoteGDB::attach(), gdb, BaseRemoteGDB::isattached(), ListenSocket::islistening(), listener, and panic.
Referenced by debugger(), and System::registerThreadContext().
void GDBListener::listen | ( | ) |
Definition at line 208 of file remote_gdb.cc.
References ListenSocket::allDisabled(), ccprintf(), curTick(), debuggers, DPRINTF, gdb, ListenSocket::getfd(), InputEvent, inputEvent, ListenSocket::listen(), listener, name(), BaseRemoteGDB::number, pollQueue, port, PollQueue::schedule(), and warn_once.
Referenced by System::registerThreadContext().
string GDBListener::name | ( | ) |
Definition at line 202 of file remote_gdb.cc.
References gdb, and BaseRemoteGDB::name().
Referenced by listen().
|
friend |
Definition at line 352 of file remote_gdb.hh.
Referenced by listen().
|
protected |
Definition at line 357 of file remote_gdb.hh.
Referenced by accept(), GDBListener(), listen(), and name().
|
protected |
Definition at line 353 of file remote_gdb.hh.
Referenced by listen(), and ~GDBListener().
|
protected |
Definition at line 356 of file remote_gdb.hh.
Referenced by accept(), listen(), and GDBListener::InputEvent::process().
|
protected |
Definition at line 358 of file remote_gdb.hh.
Referenced by listen().