gdb_hooks.h File Reference
#include <esp_systemapi.h>
Include dependency graph for gdb_hooks.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define gdb_do_break()
 Break into GDB, if present. More...
 

Enumerations

enum  GdbState { eGDB_NotPresent, eGDB_Detached, eGDB_Attached }
 

Functions

void gdb_init (void)
 Initialise GDB stub, if present. More...
 
void gdb_enable (bool state)
 Dynamically enable/disable GDB stub. More...
 
GdbState gdb_present (void)
 Check if GDB stub is present. More...
 
void gdb_on_attach (bool attached)
 Called from task queue when GDB attachment status changes. More...
 
void gdb_detach ()
 Detach from GDB, if attached. More...
 
void debug_crash_callback (const struct rst_info *rst_info, uint32_t stack, uint32_t stack_end)
 
void debug_print_stack (uint32_t start, uint32_t end)
 Send a stack dump to debug output. More...