Skip to content

Commit

Permalink
[MSP430] Add gstabs debug information (dwarf is broken)
Browse files Browse the repository at this point in the history
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".
  • Loading branch information
cmorty committed Oct 16, 2014
1 parent 7c55290 commit e9ac379
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cpu/msp430/Makefile.msp430
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ ifdef nodeid
CFLAGS += -DNODEID=$(nodeid)
endif

CFLAGS += -gstabs+

.SUFFIXES:

### Define the CPU directory
Expand Down

0 comments on commit e9ac379

Please sign in to comment.