[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] Debugging gcc output with AVR studio
From: |
David Braendler |
Subject: |
[avr-gcc-list] Debugging gcc output with AVR studio |
Date: |
Tue, 25 Oct 2005 22:28:09 +1000 |
User-agent: |
Mozilla Thunderbird 1.0.6 (Windows/20050716) |
Hi,
I've just downloaded the latest and greatest WinAVR 20050214 and AVR
Studio (4.12 Build 452)
I'm generating a .elf file with and trying to debug this in AVR studio
(using STK500) When I compile with the -gdwarf-2, it does not seem to
generate any debug information. A dwarfdump shows nothing. Compiling
with a -gstabs and the debug information is there (an see it with avr-
objdump)
Is the gcc compiled using --with-dwarf2?? If so any idea what I am
doing wrong??
Actually I came to this after trying to use avarice (complained about
innappropriate ioctl ). Avrdude totally crashes. Looking at both these
things with portmon it appears that a couple of the commands being
issued are not recognised be the STK500 firmware version 4, and version
2.01.
I think that generating an elf file with debug information is the
correct way to go from a web search. Am I correct in this assumption??
Regards
Dr David Braendler
Grey Innovation
www.greyinnovation.com
42 Charles Street Ph +613 9692 6923
Prahran Fx +613 9692 6998
Victoria 3181 Mail: PO Box 452
Australia Prahran 3181
- [avr-gcc-list] Debugging gcc output with AVR studio,
David Braendler <=