INNER CODE UNIT · C
GDBSETUP
schwabe/ics-openvpn · misc/debug-openvpn.sh:97
GDBSETUP=$APP_OUT/gdb.setup
#cp -f $GDBSETUP_INIT $GDBSETUP
#uncomment the following to debug the remote connection only
#echo "set debug remote 1" >> $GDBSETUP
#echo "file `native_path $APP_PROCESS`" >> $GDBSETUP
echo "file `native_path ${APP_OUT}/minivpn`" >> $GDBSETUP
echo "target remote :$DEBUG_PORT" >> $GDBSETUP
#if [ -n "$OPTION_EXEC" ] ; then
# cat $OPTION_EXEC >> $GDBSETUP
#fi
$GDBCLIENT -x `native_path $GDBSETUP`