From a3f9769a1e25b60594eb5563779c53d602f25ddd Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 15 Sep 2009 14:18:15 +0000 Subject: Add CONFIG_DEBUG_SYMBOLS git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2053 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/configs/eagle100/nettest/Make.defs | 4 ++-- nuttx/configs/eagle100/nettest/defconfig | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'nuttx/configs/eagle100/nettest') diff --git a/nuttx/configs/eagle100/nettest/Make.defs b/nuttx/configs/eagle100/nettest/Make.defs index 944fbe29e..9d660db30 100644 --- a/nuttx/configs/eagle100/nettest/Make.defs +++ b/nuttx/configs/eagle100/nettest/Make.defs @@ -73,7 +73,7 @@ else MAXOPTIMIZATION = -O2 endif -ifeq ("${CONFIG_DEBUG}","y") +ifeq ("${CONFIG_DEBUG_SYMBOLS}","y") ARCHOPTIMIZATION = -g else ARCHOPTIMIZATION = $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer @@ -108,7 +108,7 @@ EXEEXT = ifneq ($(CROSSDEV),arm-elf-) LDFLAGS += -nostartfiles -nodefaultlibs endif -ifeq ($(CONFIG_DEBUG),y) +ifeq ($(CONFIG_DEBUG_SYMBOLS),y) LDFLAGS += -g endif diff --git a/nuttx/configs/eagle100/nettest/defconfig b/nuttx/configs/eagle100/nettest/defconfig index ba0d5456d..27ce4e73c 100644 --- a/nuttx/configs/eagle100/nettest/defconfig +++ b/nuttx/configs/eagle100/nettest/defconfig @@ -194,6 +194,8 @@ CONFIG_HAVE_LIBM=n # that will be used in the build # CONFIG_DEBUG - enables built-in debug options # CONFIG_DEBUG_VERBOSE - enables verbose debug output +# CONFIG_DEBUG_SYMBOLS - build without optimization and with +# debug symbols (needed for use with a debugger). # CONFIG_MM_REGIONS - If the architecture includes multiple # regions of memory to allocate from, this specifies the # number of memory regions that the memory manager must @@ -256,6 +258,8 @@ CONFIG_HAVE_LIBM=n CONFIG_EXAMPLE=nettest CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n +CONFIG_DEBUG_SYMBOLS=n +CONFIG_DEBUG_SYMBOLS=n CONFIG_DEBUG_NET=y CONFIG_MM_REGIONS=1 CONFIG_ARCH_LOWPUTC=y -- cgit v1.2.3