mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 18:47:21 +08:00
Added valgrind to sitl.
This commit is contained in:
@@ -83,6 +83,12 @@ then
|
|||||||
elif [ "$debugger" == "gdb" ]
|
elif [ "$debugger" == "gdb" ]
|
||||||
then
|
then
|
||||||
gdb --args mainapp ../../../../${rc_script}_${program}
|
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
|
else
|
||||||
./mainapp ../../../../${rc_script}_${program}
|
./mainapp ../../../../${rc_script}_${program}
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ add_custom_target(run_config
|
|||||||
add_dependencies(run_config mainapp)
|
add_dependencies(run_config mainapp)
|
||||||
|
|
||||||
foreach(viewer none jmavsim gazebo)
|
foreach(viewer none jmavsim gazebo)
|
||||||
foreach(debugger none gdb lldb)
|
foreach(debugger none gdb lldb ddd valgrind)
|
||||||
foreach(model none iris vtol)
|
foreach(model none iris vtol)
|
||||||
if (debugger STREQUAL "none")
|
if (debugger STREQUAL "none")
|
||||||
if (model STREQUAL "none")
|
if (model STREQUAL "none")
|
||||||
|
|||||||
Reference in New Issue
Block a user