This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Assembly listing with source annotations
- From: Der Herr Hofrat <der dot herr at mail dot hofr dot at>
- To: David Stroupe <dstroupe at keyed-upsoftware dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Sat, 15 Jun 2002 20:05:38 +0200 (CEST)
- Subject: Re: Assembly listing with source annotations
> Is there a gcc command line switch that will give me assembly output
> along with source code annotations? I have tried -save-temps and the
> xxx.s file is only assembly with the function names. I really would
> like to see each source line along with the assosiated assembly lines.
>
compile with -g and dump the executable with objdump -S .
hofrat