avr-gcc-list
[Top][All Lists]
Advanced

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

[avr-gcc-list] coff files in avr studio, continued


From: Ted Larsson
Subject: [avr-gcc-list] coff files in avr studio, continued
Date: Tue, 2 Apr 2002 17:33:46 +0200
User-agent: Mutt/1.3.28i

Hi!

I have been having some trouble with coff files in avr
studio. I have concluded that coff files generated from elf
files built on cygwin-compiled gcc/binutils/avr-libc 020203
crash avr studio. When I switched to the avrfreaks
distribution, it works a lot better. Don't ask me why...

Now to the real issue: When I load the coff file into avr
studio and step through the C code, the cursor is at the
wrong line (on comments, for example) and does not really
know what to do.

For example, I added a breakpoint on the first line in
main(), and it stops 12 lines under, this line is a comment.

When I first start it up, I come into the gcrt1.S asm
startup code, which I can step through without trouble.

Also when I just run the code, and then stop execution, I
get the asm output and I can see my functions in assembler
format, but it would be so much better with source-level
debugging, or whatever it's called. Is this possible with
the avr studio/gcc combination?

Maybe I should mention that I am using the jtag-ice to debug
the code "live" on the chip, and not simulating in software
in avr studio.

I have been thinking about trying out the avarice project,
but I have no idea what state that project is in... 

Thanks for your time,

/Ted
avr-gcc-list at http://avr1.org



reply via email to

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