diff options
Diffstat (limited to 'firmware/export/debug.h')
-rw-r--r-- | firmware/export/debug.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/export/debug.h b/firmware/export/debug.h index 0506ff1e42..52b6687c6b 100644 --- a/firmware/export/debug.h +++ b/firmware/export/debug.h @@ -31,6 +31,11 @@ extern void ldebugf(const char* file, int line, const char *fmt, ...); #define LDEBUGF(...) ldebugf(__FILE__, __LINE__, __VA_ARGS__) #else #if defined(DEBUG) + +#ifdef HAVE_GDB_API +void breakpoint(void); +#endif + #define DEBUGF debugf #define LDEBUGF debugf #else |