Subject: port-i386/5212: i386 Kernel build with DDB and KGDB fails
To: None <>
From: Charlie Root <>
List: netbsd-bugs
Date: 03/26/1998 12:08:14
>Number:         5212
>Category:       port-i386
>Synopsis:       Kernel compile fails at build, not at configure
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 26 11:05:01 1998
>Originator:     Charlie Root
Tim Rightnour    -
>Release:        1.3<NetBSD-current source date>
System: NetBSD polaris 1.3 NetBSD 1.3 (POLARIS) #5: Fri Mar 6 05:30:19 MST 1998 root@polaris:/usr/src/sys/arch/i386/compile/POLARIS i386

add options DDB and options KGDB in a kernel config file

../../../../arch/i386/i386/kgdb_machdep.c:71: #error "Can't build DDB and KGDB together."
*** Error code 1

Obviously they cannot coexist.. however this should be parsed for when the user
types config KERNELNAME not halfway through the build.

see above
Unsure..  parse the config file better.