[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AW: [avr-gcc-list] Debugging gcc output with AVR studio
From: |
Haase Bjoern (PT-BEU/EMT) * |
Subject: |
AW: [avr-gcc-list] Debugging gcc output with AVR studio |
Date: |
Tue, 25 Oct 2005 18:43:41 +0200 |
Most probably, your gcc is not compiled with dwarf2 support. You have to supply
the
--with-dwarf2 configure switch. In order to find it out compile an arbitrary
source file using the switches "-S -g" the generated assembler file should have
lots of dwarf2 output
Information.
Yours,
Bjoern.
-----Ursprüngliche Nachricht-----
Von: address@hidden [mailto:address@hidden Im Auftrag von David Braendler
Gesendet: Dienstag, 25. Oktober 2005 14:28
An: address@hidden
Betreff: [avr-gcc-list] Debugging gcc output with AVR studio
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 mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- AW: [avr-gcc-list] Debugging gcc output with AVR studio,
Haase Bjoern (PT-BEU/EMT) * <=