Added valgrind to sitl.

This commit is contained in:
jgoppert
2015-11-06 21:11:54 -05:00
parent ca5a2d1fca
commit 68e4b33167
3 changed files with 8 additions and 2 deletions
+6
View File
@@ -83,6 +83,12 @@ then
elif [ "$debugger" == "gdb" ]
then
gdb --args mainapp ../../../../${rc_script}_${program}
elif [ "$debugger" == "ddd" ]
then
ddd --debugger gdb --args mainapp ../../../../${rc_script}_${program}
elif [ "$debugger" == "valgrind" ]
then
valgrind ./mainapp ../../../../${rc_script}_${program}
else
./mainapp ../../../../${rc_script}_${program}
fi