This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C and assembly listing
- To: dewar at gnat dot com
- Subject: Re: C and assembly listing
- From: Christoph Hellwig <hch at caldera dot de>
- Date: Mon, 5 Nov 2001 14:04:16 +0100
- Cc: avbidder at acter dot ch, sanjivg at noida dot hcltech dot com, gcc at gcc dot gnu dot org
- References: <20011105124904.2D56CF28BE@nile.gnat.com>
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.