On Mon, 2009-08-31 at 16:14 +0200, Tomek Grabiec wrote: > Jato can be compiled with workarounds which make valgrind > work with jato. > > To do so, define VALGRIND variable for make: > make jato VALGRIND=y
We can auto-detect whether we're running on valgrind or not: #include <valgrind/valgrind.h> #include <stdio.h> int main(int argc, char *argv[]) { if (RUNNING_ON_VALGRIND) printf("Running on valgrind\n"); else printf("Not running on valgrind\n"); return 0; } I guess we should do that in main() and enable the workarounds if we're on valgrind. Pekka ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Jatovm-devel mailing list Jatovm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jatovm-devel