From: Julian Seward Date: Thu, 18 Nov 2004 13:44:15 +0000 (+0000) Subject: Restore ability to run with no instrumentation. X-Git-Tag: svn/VALGRIND_3_0_1^2~769 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c06717bc0548cae26e58d4efce799b2d3b0a3b47;p=thirdparty%2Fvalgrind.git Restore ability to run with no instrumentation. git-svn-id: svn://svn.valgrind.org/vex/trunk@565 --- diff --git a/VEX/test_main.c b/VEX/test_main.c index 2e5fd30ae9..cb77fdb245 100644 --- a/VEX/test_main.c +++ b/VEX/test_main.c @@ -125,12 +125,17 @@ int main ( int argc, char** argv ) origbuf, (Addr64)orig_addr, chase_into_not_ok, &orig_used, transbuf, N_TRANSBUF, &trans_used, +#if 1 /* no instrumentation */ + NULL, /* instrument1 */ + NULL, /* instrument2 */ + False, /* cleanup after instrument */ +#endif #if 0 /* addrcheck */ ac_instrument, /* instrument1 */ NULL, /* instrument2 */ False, /* cleanup after instrument */ #endif -#if 1 /* memcheck */ +#if 0 /* memcheck */ mc_instrument, /* instrument1 */ NULL, /* instrument2 */ False, /* cleanup after instrument */