[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] Missing debug info in extcoff for AVRStudio

From: Juergen Suetterlin
Subject: [avr-gcc-list] Missing debug info in extcoff for AVRStudio
Date: Thu, 06 Apr 2006 10:05:27 +0200

I'm developing with the GNU and AVRStudio (JTAGICE). When I compile my
project with the provided makfile template, create the ext coff file and
load it into AVRStudio460 the GUI does not show the PC inicator (yellow
arrow) where it should be but some lines above
E.g. I have a code that looks like this:
01:void subfunc(void)
03:   ..do something..
06:void main(void)
08: subfunc();
After loading it into AVRStudio the yellow arrow points to line 04! but not
line 06 or 07.
I took a look into .lss and .map files as well as into the disassembly
window of AVRStudio and it seems that there were no "debug entries"
generated to the function "init code" of main. The only entries are for line
04 (return) and line 08 (subfunc call).
This problem occurs not only for the main function but also for all
functions. You can imagine that stepping through such a mess is no fun.
Maybe I make a mistake with the compiler options. Does anybody have a
solution for this problem?
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192

reply via email to

[Prev in Thread] Current Thread [Next in Thread]