From f2b46274ec15b81fc49c393302bad26bf80d63b1 Mon Sep 17 00:00:00 2001 From: Petr Mrázek Date: Thu, 14 Jul 2011 08:02:29 +0200 Subject: Fix for a bug in command history queue access. dfhack script can run valgrind. --- package/linux/dfhack | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'package') diff --git a/package/linux/dfhack b/package/linux/dfhack index 35e9cfeb..3b6708f9 100755 --- a/package/linux/dfhack +++ b/package/linux/dfhack @@ -18,6 +18,16 @@ case "$1" in gdb ./libs/Dwarf_Fortress $* ret=$? ;; + -h | --helgrind) + shift + valgrind --tool=helgrind --log-file=helgrind.log ./libs/Dwarf_Fortress $* + ret=$? + ;; + -v | --valgrind) + shift + valgrind --log-file=valgrind.log ./libs/Dwarf_Fortress $* + ret=$? + ;; *) ./libs/Dwarf_Fortress $* ret=$? -- cgit v1.2.1