Run time Debugging

Posted by Prakash on Stack Overflow See other posts from Stack Overflow or by Prakash
Published on 2010-03-30T10:04:48Z Indexed on 2010/03/30 11:33 UTC
Read the original article Hit count: 268

Filed under:

We have recently downloaded, installed and compiled gcc-3.0.4 code. gcc compiler has built successfully and we where able to compile some same test cpp file. I would like to know how we can modify gcc source code so that we add additional run time debugging statements like the binary in execution compiled by my gcc should print below statement in a log file:

filename.cpp::FunctionName#linenumber-statement

or any additional information that I can insert via this tailored compiler code Any references would be highly appreciable.

© Stack Overflow or respective owner

Related posts about c++