|
gem5
|
#include "base/remote_gdb.hh"#include <sys/signal.h>#include <unistd.h>#include <csignal>#include <cstdint>#include <cstdio>#include <string>#include "arch/vtophys.hh"#include "base/intmath.hh"#include "base/socket.hh"#include "base/trace.hh"#include "config/the_isa.hh"#include "cpu/base.hh"#include "cpu/static_inst.hh"#include "cpu/thread_context.hh"#include "debug/GDBAll.hh"#include "mem/fs_translating_port_proxy.hh"#include "mem/port.hh"#include "mem/se_translating_port_proxy.hh"#include "sim/full_system.hh"#include "sim/system.hh"Go to the source code of this file.
Enumerations | |
| enum | GdbBreakpointType { GdbSoftBp = '0', GdbHardBp = '1', GdbWriteWp = '2', GdbReadWp = '3', GdbAccWp = '4' } |
Functions | |
| void | debugger () |
Variables | |
| static const char | GDBStart = '$' |
| static const char | GDBEnd = '#' |
| static const char | GDBGoodP = '+' |
| static const char | GDBBadP = '-' |
| static const int | GDBPacketBufLen = 1024 |
| vector< BaseRemoteGDB * > | debuggers |
| enum GdbBreakpointType |
| Enumerator | |
|---|---|
| GdbSoftBp | |
| GdbHardBp | |
| GdbWriteWp | |
| GdbReadWp | |
| GdbAccWp | |
Definition at line 650 of file remote_gdb.cc.
| void debugger | ( | ) |
Definition at line 161 of file remote_gdb.cc.
References GDBListener::accept(), debuggers, BaseRemoteGDB::isattached(), BaseRemoteGDB::listener, and BaseRemoteGDB::trap().
| vector<BaseRemoteGDB *> debuggers |
Definition at line 158 of file remote_gdb.cc.
Referenced by debugger(), and GDBListener::listen().
|
static |
Definition at line 153 of file remote_gdb.cc.
Referenced by BaseRemoteGDB::recv(), and BaseRemoteGDB::send().
|
static |
Definition at line 151 of file remote_gdb.cc.
Referenced by BaseRemoteGDB::recv(), and BaseRemoteGDB::send().
|
static |
Definition at line 152 of file remote_gdb.cc.
Referenced by BaseRemoteGDB::recv().
|
static |
Definition at line 155 of file remote_gdb.cc.
Referenced by BaseRemoteGDB::trap().
|
static |
Definition at line 150 of file remote_gdb.cc.
Referenced by BaseRemoteGDB::recv(), and BaseRemoteGDB::send().