diff options
author | David 'Digit' Turner <digit@google.com> | 2010-10-18 12:39:51 +0200 |
---|---|---|
committer | David 'Digit' Turner <digit@google.com> | 2010-10-18 12:39:51 +0200 |
commit | caf06194afcdd0cf31ce3cd688f83f94c24b4b2a (patch) | |
tree | ea6ae814500fccd53cfb443a7d12ef053b1cacf0 /ndk-gdb | |
parent | 040a6a4b45f29dc83524c8742c7c139c6ddc3884 (diff) | |
download | ndk-caf06194afcdd0cf31ce3cd688f83f94c24b4b2a.tar.gz |
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
Diffstat (limited to 'ndk-gdb')
-rwxr-xr-x | ndk-gdb | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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` |