Assembly listing with source annotations

Der Herr Hofrat der.herr@mail.hofr.at
Sat Jun 15 12:00:00 GMT 2002


> 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 



More information about the Gcc-help mailing list