autotest: ignore SIGCONT with sim_vehicle.sh -G

This commit is contained in:
Andrew Tridgell 2015-03-26 21:23:17 -07:00
parent 10ec1b8290
commit 0f540fc30c
1 changed files with 2 additions and 1 deletions

View File

@ -318,7 +318,8 @@ elif [ $USE_GDB == 1 ]; then
echo "Using gdb" echo "Using gdb"
tfile=$(mktemp) tfile=$(mktemp)
[ $USE_GDB_STOPPED == 0 ] && { [ $USE_GDB_STOPPED == 0 ] && {
echo r > $tfile echo "handle SIGCONT nostop noprint" > $tfile
echo r >> $tfile
} }
$autotest/run_in_terminal_window.sh "ardupilot (gdb)" gdb -x $tfile --args $cmd || exit 1 $autotest/run_in_terminal_window.sh "ardupilot (gdb)" gdb -x $tfile --args $cmd || exit 1
else else