1# $NetBSD: KGDB,v 1.53 2007/10/17 19:57:44 garbled Exp $ 2 3# KGDB Sun3 (3/50, 3/60, 3/110, 3/160, 3/260, 3/E) 4# like GENERIC but supports gdb on other machine, i.e.: 5# % gdb -k netbsd.gdb 6# (gdb) set remotebaud 19200 7# (gdb) target remote /dev/ttyb 8 9include "arch/sun3/conf/GENERIC" 10 11no options DDB 12 13makeoptions DEBUG="-g" # debugging symbols for gdb 14options KGDB 15options KGDB_DEV=0x0C01 # ttya=0C00 ttyb=0C01 16 17options DEBUG # kernel debugging code 18options DIAGNOSTIC # extra kernel sanity checking 19