Added valgrind helper scripts.

This commit is contained in:
Doncho Gunchev 2014-12-17 01:48:21 +08:00
parent a84ef39ed8
commit 446115daef
3 changed files with 16 additions and 0 deletions

7
devel/VALGRIND Executable file
View file

@ -0,0 +1,7 @@
#!/bin/bash
# track-origins=yes is veeeery slow
G_SLICE=always-malloc G_DEBUG=gc-friendly \
/usr/bin/valgrind --tool=memcheck --trace-children=no --leak-check=full --leak-resolution=high --num-callers=32 --max-stackframe=20982960 \
--track-fds=yes --track-origins=no --db-command="cgdb -nw %f %p" --error-exitcode=1 --show-reachable=no --db-attach=yes "$@"