It should be possible to use the RUNNING_ON_VALGRIND macro from valgrind.h. Note that it's only when machine code is used that it doesn't work.
/ Martin Stjernholm, Roxen IS
Previous text:
2003-08-12 21:55: Subject: valgrind-20030725
It's been working fine with valgrind 1.0.4. Anyway, if Pike has to be compiled with --with-valgrind then Pike should do a fatal and print out the problem if one attemtps to valgrind a normal Pike. Is that possible?
/ Martin Nilsson (ja till euro, nej till cent)