diff options
| author | Perry Hung <iperry@gmail.com> | 2011-02-27 02:53:28 -0500 |
|---|---|---|
| committer | Perry Hung <iperry@gmail.com> | 2011-02-27 02:53:28 -0500 |
| commit | 3377208e4e0969be71575278069314910e4c4225 (patch) | |
| tree | baa7cdec64c1d98fae0a496339ae7e1a034a81f1 /Makefile | |
| parent | 41500ea3473227ae6f39836edff3b0818b42972c (diff) | |
Increase debug symbol output for gdb.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -33,7 +33,7 @@ LIBMAPLE_PATH := $(SRCROOT)/libmaple SUPPORT_PATH := $(SRCROOT)/support # Useful variables -GLOBAL_CFLAGS := -Os -g -mcpu=cortex-m3 -mthumb -march=armv7-m -nostdlib \ +GLOBAL_CFLAGS := -Os -g3 -gdwarf-2 -mcpu=cortex-m3 -mthumb -march=armv7-m -nostdlib \ -ffunction-sections -fdata-sections -Wl,--gc-sections \ -DBOARD_$(BOARD) -DMCU_$(MCU) GLOBAL_CXXFLAGS := -fno-rtti -fno-exceptions -Wall -DBOARD_$(BOARD) -DMCU_$(MCU) |
