]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a nasty hack to get remote kernel gdb working from ddb. ddb would
authorjhb <jhb@FreeBSD.org>
Mon, 11 Sep 2000 04:33:36 +0000 (04:33 +0000)
committerjhb <jhb@FreeBSD.org>
Mon, 11 Sep 2000 04:33:36 +0000 (04:33 +0000)
commit25c0ff28f3f9131094e00ea540147e34af5afacd
tree9cccc1bd5ed6429ee349209b7aba0d17da3d4eb8
parent577d7fbf37c1b81455f6a9b6dcde4c729969bcf9
Add a nasty hack to get remote kernel gdb working from ddb.  ddb would
complain before that a suitable gdb port had not been setup because gdbdev
was NULL.  This abuses the fact that the gdb port is hard-coded to the
address normally assigned to sio1 and thus hard-codes in sio1 as the gdb
port.  Yuck.
sys/dev/sio/sio.c
sys/isa/sio.c