|
|
| LPC11XX (GdbServer *s, const char *name) |
| |
|
int | flash_erase (uint32_t addr, int len) |
| |
|
int | flash_write (uint32_t dest, const uint8_t *src, int len) |
| |
|
bool | probe (void) |
| | Test, zda je jádro připojeno - jen na začátku (monitor scan)
|
| |
| | CortexMx (GdbServer *s, const char *name) |
| | Konstruktor. I zde je potřeba zpětný přístup na GdbServer. ...
|
| |
|
void | remove (void) |
| | Vyjmutí sady příkazů - dost důležité používat, pokud probe vrátí false.
|
| |
|
const char * | getName (void) |
| | Vrátí privátní jméno jádra.
|
| |
|
bool | vector_catch (int argc, const char *argv[]) |
| | převzato z black magic
|
| |
|
bool | attach (void) |
| | Připoj target ke gdb.
|
| |
|
void | detach (void) |
| | Odpoj target od gdb.
|
| |
|
int | regs_read (void *data) |
| | načti registry targetu
|
| |
|
int | regs_write (const void *data) |
| | zapiš zpět registry targetu
|
| |
|
int | pc_write (const uint32_t val) |
| | zapiš program counter do targetu
|
| |
|
uint32_t | pc_read (void) |
| | přečti program counter z targetu
|
| |
|
void | reset (void) |
| | zrezetuj target
|
| |
|
void | halt_resume (bool step) |
| | pokračuj ve vykonávání programu (příp. po instrukcích)
|
| |
|
int | halt_wait (void) |
| | target stojí ? (funkce nečeká, jen se ptá)
|
| |
|
void | halt_request (void) |
| | příkaz zastav target
|
| |
|
int | fault_unwind (void) |
| | Jakási obnova ???
|
| |
|
int | set_hw_bp (uint32_t addr) |
| | nastav breakpoint
|
| |
|
int | clear_hw_bp (uint32_t addr) |
| | zruš breakpoint
|
| |
|
int | set_hw_wp (uint8_t type, uint32_t addr, uint8_t len) |
| | nastav wathpoint
|
| |
|
int | clear_hw_wp (uint8_t type, uint32_t addr, uint8_t len) |
| | zruš wathpoint
|
| |
|
int | check_hw_wp (uint32_t *addr) |
| | zjisti stav
|
| |
|
int | hostio_request (void) |
| | hostio_request
|
| |
|
void | hostio_reply (int32_t retcode, uint32_t errcode) |
| | hostio_reply
|
| |
|
virtual int | Handler (int argc, const char *argv[]) |
| | handler pro příkaz
|
| |
|
| Target (GdbServer *s) |
| |
|
int | get_regs_size (void) |
| |
|
int | mem_read_words (uint32_t *dest, uint32_t src, int len) |
| |
|
int | mem_write_words (uint32_t dest, const uint32_t *src, int len) |
| |
|
int | mem_read_bytes (uint8_t *dest, uint32_t src, int len) |
| |
|
int | mem_write_bytes (uint32_t dest, const uint8_t *src, int len) |
| |
|
int | check_error (void) |
| |
|
uint32_t | generic_crc32 (uint32_t base, int len) |
| |
|
GdbServer * | getServer (void) |
| |
Veřejné metody dědí se z CommandSet |
| | CommandSet (const char *n) |
| | Konstruktor. ...
|
| |
|
void | addCmd (Command &c) |
| | Přidá příkaz na konec.
|
| |
|
CommandSet * | getNext (void) |
| | getter pro privátní data
|
| |
|
CommandSet & | operator+= (CommandSet &c) |
| | Zařadí skupinu příkazů do seznamu.
|
| |
|
Command * | getRoot (void) |
| | getter pro privátní data
|
| |
|
const char * | getName (void) |
| | getter pro privátní data
|
| |
|
void | setName (const char *name) |
| | setter pro privátní data
|
| |
|
void | print (void) |
| | Help.
|
| |