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:
phk 1996-11-25 18:39:25 +00:00
parent be8efbebca
commit 5d889ff8a2
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 */