This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Augment compiled file
- From: Joern Rennecke <joern dot rennecke at superh dot com>
- To: Joaquin Cuenca Abela <e98cuenc at yahoo dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 05 Dec 2002 17:27:08 +0000
- Subject: Re: Augment compiled file
- Organization: SuperH UK Ltd.
> I'm trying to build a bidirectional debugger, and the
> first step is to augment the output that gcc generates
> to
> include a call to a function after each source line
> compiled.
>
> Does anybody knows where should I start looking to
> make
> this change to gcc?
search for emit_line_note in the sources.
> Is there any magical/hidden
> option in
> gcc right now that will do that?
No, there isn't.
--
--------------------------
SuperH (UK) Ltd.
2410 Aztec West / Almondsbury / BRISTOL / BS32 4QX
T:+44 1454 465658