gdbstub-entry.h 536 B

12345678910111213141516171819202122232425
  1. #ifndef GDBSTUB_ENTRY_H
  2. #define GDBSTUB_ENTRY_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. void gdbstub_init_debug_entry();
  7. void gdbstub_do_break();
  8. void gdbstub_icount_ena_single_step();
  9. void gdbstub_save_extra_sfrs_for_exception();
  10. void gdbstub_uart_entry();
  11. int gdbstub_set_hw_breakpoint(int addr, int len);
  12. int gdbstub_set_hw_watchpoint(int addr, int len, int type);
  13. int gdbstub_del_hw_breakpoint(int addr);
  14. int gdbstub_del_hw_watchpoint(int addr);
  15. extern void* gdbstub_do_break_breakpoint_addr;
  16. #ifdef __cplusplus
  17. {
  18. #endif
  19. #endif