summaryrefslogtreecommitdiffstats
path: root/sys/pc98/cbus
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pc98/cbus')
-rw-r--r--sys/pc98/cbus/sio.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/pc98/cbus/sio.c b/sys/pc98/cbus/sio.c
index 07ab859..7e0c080 100644
--- a/sys/pc98/cbus/sio.c
+++ b/sys/pc98/cbus/sio.c
@@ -4515,10 +4515,19 @@ siogdbattach(port, speed)
int s;
u_char cfcr;
struct siocnstate sp;
+ int unit = 1; /* XXX !!! */
siogdbiobase = port;
gdbdefaultrate = speed;
+ printf("sio%d: gdb debugging port\n", unit);
+ siogdbunit = unit;
+#if DDB > 0
+ gdbdev = makedev(CDEV_MAJOR, unit);
+ gdb_getc = siocngetc;
+ gdb_putc = siocnputc;
+#endif
+
s = spltty();
/*
OpenPOWER on IntegriCloud