From: Toon Moene <toon@moene.indiv.nluug.nl>
Subject: Re: assembly programming on alphas
Date: 1998/12/19 [thread overview]
Message-ID: <367BCE26.9DF9792B@moene.indiv.nluug.nl> (raw)
In-Reply-To: 36729BEF.36CA000C@frankfurt.netsurf.de
Joachim Wesner wrote:
> Bram wrote:
> > I've been reading DEC's Assembly Language Programmer's Guide.
> > But I have a couple of questions.
> > How can I have egcs generate more verbose assembly output?
> > The samples in the guide show the C-source as comments in
> > the assembly file.
> > The output from egcc -S does not give these.
> To my knowledge, there is no way to have the assembly output mixed with
> the C-source on gcc/egcs.
Well, I never got around writing this, but the egcc -g -S [other
options] ... command should write the debugging information in the
assembler file, and hence - because the debugging info contains the line
number - it's possible (writing a small C program that reads both the .s
and the .c file) to create a combined file with the assembler code
interspersed with the original C code.
HTH,
--
Toon Moene (toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
g77 Support: fortran@gnu.org; egcs: egcs-bugs@cygnus.com
next prev parent reply other threads:[~1998-12-19 5:00 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-12-10 5:00 assembly programming on alphas Bram
1998-12-12 5:00 ` Bradley DeJong
1998-12-12 5:00 ` Reginald Beardsley
1998-12-16 5:00 ` Paul Repacholi
1998-12-12 5:00 ` Raymond Doetjes
1998-12-11 5:00 ` Bram
1998-12-12 5:00 ` Joachim Wesner
1998-12-12 5:00 ` Clifford T. Matthews
1998-12-12 5:00 ` Joachim Wesner
1998-12-19 5:00 ` Toon Moene [this message]
1999-01-05 5:00 ` Alex Rhomberg
1999-01-06 5:00 ` Bram Stolk
1998-12-13 5:00 ` dontspam_esci
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox