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 9 include "arch/sun3/conf/GENERIC" 10 11 no options DDB 12 13 makeoptions DEBUG="-g" # debugging symbols for gdb 14 options KGDB 15 options KGDB_DEV=0x0C01 # ttya=0C00 ttyb=0C01 16 17 options DEBUG # kernel debugging code 18 options DIAGNOSTIC # extra kernel sanity checking 19