This is the mail archive of the gcc@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]

Re: C and assembly listing


On Mon, Nov 05, 2001 at 07:49:04AM -0500, dewar@gnat.com wrote:
> >>objdump -S should provide what you search.
> 
> Yes, but it sure would be nice to be able to get nice interleaved assembly
> listings annotated with variable names, directly from gcc.

For the linux kernel you can use a script, scripts/makelst to generate
nice listsing.  Just type make dir/<filenamewithout dot c>.lst and the
makefile produce it - but this one is tied to the kernel's System.map
file..

	Christoph

-- 
Of course it doesn't work. We've performed a software upgrade.


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