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]
Other format: [Raw text]

Re: Augment compiled file


> 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


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