From 100914de6c046c3d452be447b55dc2b8ef04a26e Mon Sep 17 00:00:00 2001 From: kato Date: Wed, 13 Sep 2000 10:14:43 +0000 Subject: Merged from sys/isa/sio.c revision 1.312. --- sys/pc98/cbus/sio.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'sys/pc98/cbus') 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(); /* -- cgit v1.1