ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
|
structure to store breakpoints More...
#include <GDBServer.h>
Public Types | |
enum | BPType { BPTYPE_BREAK_MEM = 1 , BPTYPE_BREAK_HW = 2 , BPTYPE_WATCH_WRITE = 4 , BPTYPE_WATCH_READ = 8 } |
Public Member Functions | |
BreakpointDB () | |
bool | isEmpty () |
etiss::uint32 | get (etiss::uint64 addr) |
void | set (etiss::uint64 addr, etiss::uint32 val) |
Private Attributes | |
etiss::uint32 **** | instrbrkpt_ |
important: index maps are reversed to instruction pointer e.g pointer(0x0102030405060708) [POINTER != ADDRESS] -> instrbrkpt_[0x0708][0x0506][0x0304][0x0201] More... | |
structure to store breakpoints
Definition at line 79 of file GDBServer.h.
Enumerator | |
---|---|
BPTYPE_BREAK_MEM | |
BPTYPE_BREAK_HW | |
BPTYPE_WATCH_WRITE | |
BPTYPE_WATCH_READ |
Definition at line 82 of file GDBServer.h.
BreakpointDB::BreakpointDB | ( | ) |
Definition at line 63 of file GDBServer.cpp.
References instrbrkpt_.
|
inline |
Definition at line 92 of file GDBServer.h.
References instrbrkpt_, and unlikely.
Referenced by etiss::plugin::gdb::Server::handlePacket(), etiss::plugin::gdb::Server::preDReadCallback(), etiss::plugin::gdb::Server::preDWriteCallback(), and etiss::plugin::gdb::Server::preInstructionCallback().
|
inline |
Definition at line 91 of file GDBServer.h.
References instrbrkpt_.
Referenced by etiss::plugin::gdb::Server::preDReadCallback(), etiss::plugin::gdb::Server::preDWriteCallback(), and etiss::plugin::gdb::Server::preInstructionCallback().
void BreakpointDB::set | ( | etiss::uint64 | addr, |
etiss::uint32 | val | ||
) |
Definition at line 68 of file GDBServer.cpp.
References instrbrkpt_, and memset().
Referenced by etiss::plugin::gdb::Server::handlePacket().
|
private |
important: index maps are reversed to instruction pointer e.g pointer(0x0102030405060708) [POINTER != ADDRESS] -> instrbrkpt_[0x0708][0x0506][0x0304][0x0201]
Definition at line 117 of file GDBServer.h.
Referenced by BreakpointDB(), get(), isEmpty(), and set().