ndk-gdb: Fix windows invokation

This also simplifies the gdb client invokation by putting
the "file" command inside the gdb.setup file, instead of
using the command-line.

Change-Id: Iaa31dd2afaada8552db0b72baca91ecd16d6ff95
diff --git a/ndk-gdb b/ndk-gdb
index f2577dc..5a39086 100755
--- a/ndk-gdb
+++ b/ndk-gdb
@@ -573,8 +573,9 @@
 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 "target remote :$DEBUG_PORT" >> $GDBSETUP
 if [ -n "$OPTION_EXEC" ] ; then
     cat $OPTION_EXEC >> $GDBSETUP
 fi
-$GDBCLIENT -x $GDBSETUP -e $APP_PROCESS
+$GDBCLIENT -x `native_path $GDBSETUP`