In the top level makefile, there is already: ifdef CONFIG_DEBUG_INFO CFLAGS += -g endif I don't see why you need to add it to arch/mips/Makefile. Your Kconfig changes seem fine though. Kevin On Thu, 2004-01-15 at 11:22, Jun Sun wrote: > This patch adds the missing "-g" gcc option when kgdb is configure. > Clean up some debugging related options (DEBUG_INFO really should > go under KGDB and depends its not being selected) > > If no objection, will check it in later. > > And yes, the good news is that kgdb works in 2.6. > > Jun -- Kevin Paul Herbert <kph@cisco.com> cisco Systems, Inc.