gdb_handler.c 201 B

1234567891011
  1. #include <rtthread.h>
  2. #include <gdb_stub.h>
  3. void rt_hw_debugmon_exception(void *regs)
  4. {
  5. #ifdef RT_USING_GDB
  6. gdb_arch_late();
  7. gdb_handle_exception(SIGTRAP, regs);
  8. gdb_arch_exit();
  9. #endif
  10. }