[Top][All Lists]

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

[avr-gcc-list] Compiling gcc-avr : how to enable dwarf-2 option ?

From: Vincent Trouilliez
Subject: [avr-gcc-list] Compiling gcc-avr : how to enable dwarf-2 option ?
Date: Fri, 04 Nov 2005 02:08:19 +0100

Hi all,

So far I have used the binaries of gcc-avr 3.4.3, that my distro
(Ubuntu) supplies, and it seems it doesn't support the -gdwarf-2 flag. 
So I defaulted to just -g as suggest by Joerg back then, but now for the
first time, I really need to use the disassembler listing with all the C
statements in it, to help me optimise a particular function that takes
way to long to execute, but the file somehow looks weird, and is pretty
much unusable, highly inconvenient at best.

I put it there http://www.007.org.uk/~vtrouilliez/temp/ it's the one
called "object.list".

So I am hoping that recompiling gcc with the gdwarf-2 option, might
produce different, hopefully better, debug info.
As I understand it, avr-objdump is responsible for generating this file,
but I will start with this gcc flag first, as I don't have any better
idea so far :-/

Thanks for any suggestions, as I am rather clueless, yet in desperate
need for a good/usable list file  :-/



reply via email to

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