diff options
Diffstat (limited to 'c/src/lib/libbsp/m68k/ods68302/startup/gdb-hooks.c')
-rw-r--r-- | c/src/lib/libbsp/m68k/ods68302/startup/gdb-hooks.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/m68k/ods68302/startup/gdb-hooks.c b/c/src/lib/libbsp/m68k/ods68302/startup/gdb-hooks.c index 0ea119ce9a..45bfe42725 100644 --- a/c/src/lib/libbsp/m68k/ods68302/startup/gdb-hooks.c +++ b/c/src/lib/libbsp/m68k/ods68302/startup/gdb-hooks.c @@ -1,9 +1,7 @@ -/*****************************************************************************/ /* - Hooks for GDB - + * Hooks for GDB + * */ -/*****************************************************************************/ #include <bsp.h> #include <rtems/m68k/m68302.h> @@ -11,6 +9,15 @@ static int initialised = 0; +/* + * This file does not intend to make things part of the public interface. + * Methods here are only available to the GDB stub. So prototypes are + * needed to avoid warnings. + */ +void putDebugChar(char ch); +char getDebugChar(void); +void exceptionHandler(unsigned int vector, void *handler); + void putDebugChar(char ch) { if (!initialised) |