diff options
| -rw-r--r-- | sys/amd64/amd64/amd64-gdbstub.c | 9 | ||||
| -rw-r--r-- | sys/i386/i386/i386-gdbstub.c | 9 | 
2 files changed, 18 insertions, 0 deletions
diff --git a/sys/amd64/amd64/amd64-gdbstub.c b/sys/amd64/amd64/amd64-gdbstub.c index 7ac17a07c6d3..4035f9718ec9 100644 --- a/sys/amd64/amd64/amd64-gdbstub.c +++ b/sys/amd64/amd64/amd64-gdbstub.c @@ -99,6 +99,14 @@  #include <setjmp.h> +#include "sio.h" + +#if NSIO == 0 +void +gdb_handle_exception (db_regs_t *raw_regs, int type, int code) +{ +} +#else  /************************************************************************/  void		gdb_handle_exception (db_regs_t *, int, int); @@ -585,3 +593,4 @@ gdb_handle_exception (db_regs_t *raw_regs, int type, int code)        putpacket (remcomOutBuffer);      }  } +#endif /* NSIO > 0 */ diff --git a/sys/i386/i386/i386-gdbstub.c b/sys/i386/i386/i386-gdbstub.c index 7ac17a07c6d3..4035f9718ec9 100644 --- a/sys/i386/i386/i386-gdbstub.c +++ b/sys/i386/i386/i386-gdbstub.c @@ -99,6 +99,14 @@  #include <setjmp.h> +#include "sio.h" + +#if NSIO == 0 +void +gdb_handle_exception (db_regs_t *raw_regs, int type, int code) +{ +} +#else  /************************************************************************/  void		gdb_handle_exception (db_regs_t *, int, int); @@ -585,3 +593,4 @@ gdb_handle_exception (db_regs_t *raw_regs, int type, int code)        putpacket (remcomOutBuffer);      }  } +#endif /* NSIO > 0 */  | 
