|
ETISS 0.11.2
ExtendableTranslatingInstructionSetSimulator(version0.11.2)
|
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] | |
structure to store breakpoints
Definition at line 38 of file GDBServer.h.
| Enumerator | |
|---|---|
| BPTYPE_BREAK_MEM | |
| BPTYPE_BREAK_HW | |
| BPTYPE_WATCH_WRITE | |
| BPTYPE_WATCH_READ | |
Definition at line 41 of file GDBServer.h.
| BreakpointDB::BreakpointDB | ( | ) |
Definition at line 29 of file GDBServer.cpp.
References instrbrkpt_.
|
inline |
Definition at line 52 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 51 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 34 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 77 of file GDBServer.h.
Referenced by BreakpointDB(), get(), isEmpty(), and set().