This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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 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 


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