[En-Nut-Discussion] How do I generate Ethernut (Net & OS) withsymbols?

lolle mail at lolle.de
Tue Nov 28 16:36:39 CET 2006


Hello Chuck

I found your post and I've got the same problem with avrstudio. So it would
be interesting for me if you had already a solution. 


Chuck Hackett wrote:
> 
> I modified the new Makedefs to use "-O0 -g3 -gdwarf-2" in place of "-Os"
> in
> CPFLAGS.  I also changed the "include" reference of "Makedefs.avr-gcc"  to
> "Makedefs.avr-gcc-debug".
> 
I did that and .elf is created when compiling. 

Now I can upload to the ethernut board via jtagice, but  avrstudio alway
jumps to the disassembler window. I even can set breakpoints in the c-source
file, but when reaching this breakpoint avrstudio jumps to the disassembler
window again. Did you find a solution to be able to debug in the source
files? 

Thanks in advance. 

Lorenz


-- 
View this message in context: http://www.nabble.com/How-do-I-generate-Ethernut-%28Net---OS%29-with-symbols--tf1023583.html#a7581344
Sent from the MicroControllers - Ethernut mailing list archive at Nabble.com.




More information about the En-Nut-Discussion mailing list