From e7f3899b23e3c01c1c37cd925df07729af690c68 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Sat, 6 Jan 2007 03:33:48 +0000 Subject: [PATCH] GDB stubs were only being compiled on systems with serial I/O installed, but DCONS can use it too. Remove the SIO requirement. --- sys/cpu/i386/misc/i386-gdbstub.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/cpu/i386/misc/i386-gdbstub.c b/sys/cpu/i386/misc/i386-gdbstub.c index a0c6c71e0b..909dd60817 100644 --- a/sys/cpu/i386/misc/i386-gdbstub.c +++ b/sys/cpu/i386/misc/i386-gdbstub.c @@ -92,9 +92,8 @@ * ****************************************************************************/ /* $FreeBSD: src/sys/i386/i386/i386-gdbstub.c,v 1.13.2.1 2000/08/03 00:54:41 peter Exp $ */ -/* $DragonFly: src/sys/cpu/i386/misc/i386-gdbstub.c,v 1.4 2006/09/09 21:34:46 dillon Exp $ */ +/* $DragonFly: src/sys/cpu/i386/misc/i386-gdbstub.c,v 1.5 2007/01/06 04:33:48 dillon Exp $ */ -#include "use_sio.h" #include "opt_ddb.h" #include @@ -108,7 +107,6 @@ void gdb_handle_exception (db_regs_t *, int, int); -#if NSIO == 0 void gdb_handle_exception (db_regs_t *raw_regs, int type, int code) { @@ -616,4 +614,4 @@ gdb_handle_exception (db_regs_t *raw_regs, int type, int code) putpacket (remcomOutBuffer); } } -#endif /* NSIO > 0 */ + -- 2.11.4.GIT