On 2006-11-08, Wei Chen <[EMAIL PROTECTED]> 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

Reply via email to