Andrew STUBBS wrote: >It's probably easier to place a putenv("MUDFLAP_OPTIONS=blah") >in your code, or inject it from the debugger.
Thanks for the reply. MUDFLAP_OPTIONS environment variable is used to control the run time behaviour of instrumented code generated with the help of libmudflap library. There are about 30 options which user can set against this environment variable and thus control the run-time behavior of the instrumented program. For details please refer the following link: http://gcc.gnu.org/wiki/Mudflap_Pointer_Debugging We cannot place putenv("MUDFLAP_OPTIONS=<..>") in libmudflap's __mf_init() function existing in mf-runtime.c. Placing putenv(..) will limit the instrumented code's runtime behaviour only to option being set in the code by me. Regards Deepen Mantri ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Free download of GNU based tool-chains for Renesas' SH, H8, R8C,M16C and M32C Series. The following site also offers free technical support to its users. Visit http://www.kpitgnutools.com for details. Latest versions of KPIT GNU tools were released on Feb 6, 07 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~