[Top][All Lists]

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

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

From: Vincent Trouilliez
Subject: Re: [avr-gcc-list] Compiling gcc-avr : how to enable dwarf-2 option ?
Date: Fri, 04 Nov 2005 07:17:36 +0100

> > I put it there http://www.007.org.uk/~vtrouilliez/temp/ it's the one
> > called "object.list".
> Something else must be wrong.  The backannotated disassembly listing
> is also supposed to work with stabs debugging.

What I find (found) strange was that, if you look carefully at the file,
SOME functions, all from the same module (lcd), are annotated, and all
others aren't. I don't understand this, since the Makefile (as I
understand it) treats all source files 100% the same.
Now that I have enabled dwarf-2 and recompiled gcc, I noticed that I
still loose the annotations, if I use the -O3 optimisation flag, but not
if I use -O or -Os.
Weird indeed...


reply via email to

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