From e9ac3797302f0f15bfac50e2a002cc399ecb0d72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20=27Morty=27=20Str=C3=BCbe?= Date: Thu, 9 Oct 2014 09:02:09 +0200 Subject: [PATCH] [MSP430] Add gstabs debug information (dwarf is broken) Currently there is an linker error when compiling with debug information. This is only the case for dwarf (the default). Everything is fine with stabs, thus allowing to debug and use all the other nice tools like "objdump -S". --- cpu/msp430/Makefile.msp430 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpu/msp430/Makefile.msp430 b/cpu/msp430/Makefile.msp430 index 182cd19dd..27aea66e3 100644 --- a/cpu/msp430/Makefile.msp430 +++ b/cpu/msp430/Makefile.msp430 @@ -4,6 +4,8 @@ ifdef nodeid CFLAGS += -DNODEID=$(nodeid) endif +CFLAGS += -gstabs+ + .SUFFIXES: ### Define the CPU directory