diff options
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/i386/ts_386ex/tools/debug_c/serial_gdb.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/i386/ts_386ex/tools/debug_c/serial_gdb.h b/c/src/lib/libbsp/i386/ts_386ex/tools/debug_c/serial_gdb.h new file mode 100644 index 0000000000..48367263a1 --- /dev/null +++ b/c/src/lib/libbsp/i386/ts_386ex/tools/debug_c/serial_gdb.h @@ -0,0 +1,18 @@ +/* serial_gdb.h + * + * Interface to invoke and initialize GDB support. + * + */ + +#ifdef __cplusplus +extern "C" { +#endif + +void init_serial_gdb( void ); + +#define breakpoint() asm("int $3") + +#ifdef __cplusplus +} +#endif + |