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