mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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:
parent
f2e3e9a91e
commit
07c48e4bb0
2 changed files with 18 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue