avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] why are the whole source lines not all visible in .ls


From: gouy yann
Subject: Re: [avr-gcc-list] why are the whole source lines not all visible in .lst?
Date: Tue, 28 Sep 2004 11:04:28 +0200 (CEST)

Hello,
I've made in simple example that shows a part of the
problem.

in file essai2.c, if you comment the line of the call
to z(), the essai.lst shows the source lines of
functions x() and y().
if you don't comment it, neither lines from x(), y()
nor z() are shown.

avr-nm doesn't shows the symbol for x(), y)( or z()
but at the end of the .lst file, you can find
information about the source lines and their
corresponding asm address.

hope this help.

regards.
   Yann

 --- Erik Christiansen <address@hidden> a écrit : 
> On Mon, Sep 27, 2004 at 07:15:22PM +0200, gouy yann
> wrote:
> > the problem is with avr-objdump apparently.
> 
> Having not seen the avr-objdump output, this is just
> a shot in the dark.
> If it is true that avr-objdump is filtering the
> code, then I'd be
> tempted to try using -D instead of -d in your
> argument list:
> 
> > > >I've done some tests giving avr-objdump the
> following
> > > >parameters "avr-objdump -h -S -x -d -s -g -t -T
> -a -f -p"
> 
> Mind you, this would only help if the compiler is
> hiding your missing
> static functions in an unusual section. Does
> ""avr-objdump -h" show
> anything unusual?
> 
> Does nm show the function name in the object file?
> If not, then it may
> be a little harsh to blame avr-objdump.
> 
> A little bit more information would make it easier
> to work out what's
> happening.
> 
> Erik
> 
>  

=====



        

        
                
Vous manquez d’espace pour stocker vos mails ? 
Yahoo! Mail vous offre GRATUITEMENT 100 Mo !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour 
dialoguer instantanément avec vos amis. A télécharger gratuitement sur 
http://fr.messenger.yahoo.com


reply via email to

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