diff options
author | Tomasz Malesinski <tomal@rockbox.org> | 2006-02-04 00:04:02 +0000 |
---|---|---|
committer | Tomasz Malesinski <tomal@rockbox.org> | 2006-02-04 00:04:02 +0000 |
commit | ec7e97602695b7e4a49013b525d0bf7a0c8d13fc (patch) | |
tree | a8c60a04068b31614a60dfc89cc0194ef8f650b1 /firmware/export/debug.h | |
parent | 760fea9ac7b52aa83d88371fac7bf0027cf7fd43 (diff) |
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
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 |