mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-02 16:11:41 +01:00
esp_gdbstup: implement runtime gdbstub for riscv
This commit is contained in:
@@ -74,6 +74,16 @@ int esp_gdbstub_get_signal(const esp_gdbstub_frame_t *frame);
|
||||
*/
|
||||
void esp_gdbstub_frame_to_regfile(const esp_gdbstub_frame_t *frame, esp_gdbstub_gdb_regfile_t *dst);
|
||||
|
||||
/**
|
||||
* Signal handler for debugging interrupts of the application.
|
||||
*/
|
||||
void esp_gdbstub_int(void *frame);
|
||||
|
||||
/**
|
||||
* Signal handler for transport protocol interrupts.
|
||||
*/
|
||||
void gdbstub_handle_uart_int(esp_gdbstub_frame_t *regs_frame);
|
||||
|
||||
#if CONFIG_ESP_GDBSTUB_SUPPORT_TASKS
|
||||
/**
|
||||
* Write registers from the saved frame of a given task to the GDB register file
|
||||
@@ -104,11 +114,13 @@ void esp_gdbstub_putchar(int c);
|
||||
*/
|
||||
void esp_gdbstub_flush(void);
|
||||
|
||||
#ifdef CONFIG_ESP_SYSTEM_GDBSTUB_RUNTIME
|
||||
/**
|
||||
* Read a data from fifo and detect start symbol
|
||||
* @return 1 if break symbol was detected, or 0 if not
|
||||
*/
|
||||
int esp_gdbstub_getfifo(void);
|
||||
#endif // CONFIG_ESP_SYSTEM_GDBSTUB_RUNTIME
|
||||
|
||||
/**** GDB packet related functions ****/
|
||||
|
||||
@@ -144,7 +156,7 @@ void esp_gdbstub_stall_other_cpus_start(void);
|
||||
void esp_gdbstub_stall_other_cpus_end(void);
|
||||
|
||||
void esp_gdbstub_clear_step(void);
|
||||
void esp_gdbstub_do_step(void);
|
||||
void esp_gdbstub_do_step(esp_gdbstub_frame_t *regs_frame);
|
||||
void esp_gdbstub_trigger_cpu(void);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user