Augment compiled file

Joern Rennecke joern.rennecke@superh.com
Thu Dec 5 09:27:00 GMT 2002


> 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



More information about the Gcc mailing list