This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Assembly & C crossview in eCos & ARM


On 2006-11-08, Wei Chen <chenwei_us@yahoo.com> wrote:

> I am trying to find a tool that can show mixed view of
> Source C code and Corresponding Assembly instruction
> at the same time.

I find that objdump --source mostly works, but I usually just
generate mixed C/assembly listings when compiling by doing
something like this in my Makefile:

%.o: %.c 
        $(GCC) $(CFLAGS) $(INCLUDES) -c $< -o $@ -Wa,-ahld=$(@F).l

-- 
Grant Edwards                   grante             Yow!  Yow! We're going to
                                  at               a new disco!
                               visi.com            


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]