From bae17bbe092e519864ee70894d67fb44ef1e18cb Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Tue, 2 Sep 2008 18:46:25 +0200 Subject: GNUmakefile: Add targets dmalloc-run and valgrind-run. --- GNUmakefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/GNUmakefile b/GNUmakefile index 3fe3533..c6bc134 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -232,3 +232,9 @@ debugging-run: $(KIT_TARGETS) toilet ddd-run: $(KIT_TARGETS) toilet env LD_LIBRARY_PATH="`pwd`/ToiletKit.framework/Versions/Current:/usr/local/lib" ddd obj/toilet + +dmalloc-run: $(KIT_TARGETS) toilet + env LD_LIBRARY_PATH="`pwd`/ToiletKit.framework/Versions/Current:/usr/local/lib" LD_PRELOAD=/usr/lib/libdmalloc.so obj/toilet + +valgrind-run: $(KIT_TARGETS) toilet + env LD_LIBRARY_PATH="`pwd`/ToiletKit.framework/Versions/Current:/usr/local/lib" valgrind --freelist-vol=300000000 obj/toilet -- cgit v1.2.3