Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » AVR-GCC
  • » [avr-gcc-list] Compiling gcc-avr : how to enable dwarf-2 option ? [RSS Feed]

#1 Nov. 4, 2005 01:08:11

Vincent T.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

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


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 therehttp://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 :-/


Regards,


--
Vince



_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Offline

  • Root
  • » AVR-GCC
  • » [avr-gcc-list] Compiling gcc-avr : how to enable dwarf-2 option ? [RSS Feed]

Board footer

Moderator control

Enjoy the 20th of November
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support