[EMAIL PROTECTED] wrote:
have a look at the flag -finstrument-functions for gcc.
as far as I know, this could only record at function entry and return ?
but sometimes recording all the "trace" of how program behaves is useful for debugging purpose.
further, using a binary instrumentation tool like PIN could only record the low level instruction trace....