mirror of
https://github.com/nodemcu/nodemcu-firmware.git
synced 2025-01-16 20:52:57 +08:00
04e93b2433
* Initial version of gdbstub support * Add DEBUG argument to Makefile to add more debug data and turn off -Os * Add the output redirection handling * Added documentation * Cleaned up the english a bit * Make gdboutput actually trap all the output * Review comments
25 lines
536 B
C
25 lines
536 B
C
#ifndef GDBSTUB_ENTRY_H
|
|
#define GDBSTUB_ENTRY_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void gdbstub_init_debug_entry();
|
|
void gdbstub_do_break();
|
|
void gdbstub_icount_ena_single_step();
|
|
void gdbstub_save_extra_sfrs_for_exception();
|
|
void gdbstub_uart_entry();
|
|
|
|
int gdbstub_set_hw_breakpoint(int addr, int len);
|
|
int gdbstub_set_hw_watchpoint(int addr, int len, int type);
|
|
int gdbstub_del_hw_breakpoint(int addr);
|
|
int gdbstub_del_hw_watchpoint(int addr);
|
|
|
|
extern void* gdbstub_do_break_breakpoint_addr;
|
|
|
|
#ifdef __cplusplus
|
|
{
|
|
#endif
|
|
|
|
#endif |