From ec7e97602695b7e4a49013b525d0bf7a0c8d13fc Mon Sep 17 00:00:00 2001 From: Tomasz Malesinski Date: Sat, 4 Feb 2006 00:04:02 +0000 Subject: Added GDB API - a way to call stub procedures from a DEBUG build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8561 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/debug.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'firmware/export/debug.h') 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 -- cgit v1.2.3