diff options
| author | Petr Mrázek | 2011-07-14 08:02:29 +0200 |
|---|---|---|
| committer | Petr Mrázek | 2011-07-14 08:02:29 +0200 |
| commit | f2b46274ec15b81fc49c393302bad26bf80d63b1 (patch) | |
| tree | f0ac5c26eeb81b780f47608c5dfbacec38851c9c /package | |
| parent | 96153a7b05e7ecfaa0f2c4ab744ae3c71144ff41 (diff) | |
| download | dfhack-f2b46274ec15b81fc49c393302bad26bf80d63b1.tar.gz dfhack-f2b46274ec15b81fc49c393302bad26bf80d63b1.tar.bz2 dfhack-f2b46274ec15b81fc49c393302bad26bf80d63b1.tar.xz | |
Fix for a bug in command history queue access. dfhack script can run valgrind.
Diffstat (limited to 'package')
| -rwxr-xr-x | package/linux/dfhack | 10 |
1 files changed, 10 insertions, 0 deletions
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=$? |
