* Kallol Biswas <kallol@efi.com> [020116 20:35]:
> Hi,
> Does gcc have an option to list the C source line information for
> assembly instructions?
I am not sure what you are asking for... but I will give it a shot. ;)
One of the tools that comes with the package binutils is called objdump.
If you compile your source with -g flag then you can use objdump to
display mixed assembly and C source code.
gcc -g foo.c -o foo.o
objdumpt -S foo.o
I hope this helps.
B.
-- WebSig: http://www.jukie.net/~bart/sig/
This archive was generated by hypermail 2b29 : Wed Jan 23 2002 - 21:00:36 EST