changed stabs to dwarf-2 for debugging.

This commit is contained in:
mvidales 2008-10-15 15:42:18 +00:00
parent 83a2cad604
commit 2e2eb8d387

View file

@ -15,13 +15,13 @@ COMMON += -DF_CPU=8000000UL
## Compile options common for all C compilation units. ## Compile options common for all C compilation units.
CFLAGS = $(COMMON) $(CEXTRA) CFLAGS = $(COMMON) $(CEXTRA)
CFLAGS += -D AVRGCC -Wall -gstabs -Os -fsigned-char CFLAGS += -D AVRGCC -Wall -gdwarf-2 -Os -fsigned-char
CFLAGS += -MD -MP -MT $(*F).o -MF dep/$(@F).d CFLAGS += -MD -MP -MT $(*F).o -MF dep/$(@F).d
CFLAGS += -fshort-enums CFLAGS += -fshort-enums
## Assembly specific flags ## Assembly specific flags
ASMFLAGS = $(COMMON) ASMFLAGS = $(COMMON)
ASMFLAGS += -x assembler-with-cpp -Wa,-gstabs ASMFLAGS += -x assembler-with-cpp -Wa,-gdwarf-2
## Linker flags ## Linker flags
LDFLAGS = $(COMMON) LDFLAGS = $(COMMON)