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) | |
download | rockbox-ec7e97602695b7e4a49013b525d0bf7a0c8d13fc.tar.gz rockbox-ec7e97602695b7e4a49013b525d0bf7a0c8d13fc.zip |
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, ...); | |||
31 | #define LDEBUGF(...) ldebugf(__FILE__, __LINE__, __VA_ARGS__) | 31 | #define LDEBUGF(...) ldebugf(__FILE__, __LINE__, __VA_ARGS__) |
32 | #else | 32 | #else |
33 | #if defined(DEBUG) | 33 | #if defined(DEBUG) |
34 | |||
35 | #ifdef HAVE_GDB_API | ||
36 | void breakpoint(void); | ||
37 | #endif | ||
38 | |||
34 | #define DEBUGF debugf | 39 | #define DEBUGF debugf |
35 | #define LDEBUGF debugf | 40 | #define LDEBUGF debugf |
36 | #else | 41 | #else |