mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 09:13:34 +08:00
sitl script: Do NOT kill px4 if debug in IDE
This commit is contained in:
+6
-2
@@ -50,8 +50,12 @@ fi
|
||||
# kill process names that might stil
|
||||
# be running from last time
|
||||
pkill -x gazebo || true
|
||||
pkill -x px4 || true
|
||||
pkill -x px4_$model || true
|
||||
|
||||
# Do NOT kill PX4 if debug in ide
|
||||
if [ "$debugger" != "ide" ]; then
|
||||
pkill -x px4 || true
|
||||
pkill -x px4_$model || true
|
||||
fi
|
||||
|
||||
cp "$src_path/Tools/posix_lldbinit" "$rootfs/.lldbinit"
|
||||
cp "$src_path/Tools/posix.gdbinit" "$rootfs/.gdbinit"
|
||||
|
||||
Reference in New Issue
Block a user