From caf06194afcdd0cf31ce3cd688f83f94c24b4b2a Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Mon, 18 Oct 2010 12:39:51 +0200 Subject: 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 --- ndk-gdb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ndk-gdb') diff --git a/ndk-gdb b/ndk-gdb index f2577dcdb..5a39086b7 100755 --- a/ndk-gdb +++ b/ndk-gdb @@ -573,8 +573,9 @@ 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 "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` -- cgit v1.2.3