Make a kernel with DDB but without sio possible again. This is only

a stopgap measure, a more complete solution is on somebodys whiteboard
(and we all know that THAT means :-).

Reviewed by:	pst
This commit is contained in:
Poul-Henning Kamp 1996-11-25 18:39:25 +00:00
parent f2e3e9a91e
commit 07c48e4bb0
2 changed files with 18 additions and 0 deletions

View file

@ -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 */

View file

@ -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 */