rt-thread/components/gdb/libcpu/cortexm/gdb_handler.c

12 lines
201 B
C
Raw Normal View History

2014-08-12 18:18:23 +08:00
#include <rtthread.h>
#include <gdb_stub.h>
void rt_hw_debugmon_exception(void *regs)
{
#ifdef RT_USING_GDB
gdb_arch_late();
gdb_handle_exception(SIGTRAP, regs);
gdb_arch_exit();
#endif
}