Home | History | Annotate | Download | only in android

Lines Matching refs:GDBSERVER

33       log "Killing background gdbserver process: $GDBSERVER_PID"
37 log "Removing target gdbserver binary: $TARGET_GDBSERVER."
90 GDBSERVER=
131 --gdbserver=*)
132 GDBSERVER=$optarg
255 - target gdbserver binary
276 Otherwise, the script will complain, but you can use the --gdbserver,
319 --attach-delay=<num> Seconds to wait for gdbserver to attach to the
327 --gdbserver=<file> Specify target gdbserver binary.
649 BINARY=$NDK_DIR/prebuilt/android-$ARCH/gdbserver/gdbserver
651 BINARY=$(get_ndk_toolchain_prebuilt "$NDK_DIR" "$ARCH" gdbserver)
657 # use the NDK versions of gdb and gdbserver. They must match to avoid
688 # Find gdbserver binary, we will later push it to /data/local/tmp
689 # This ensures that both gdbserver and $GDB talk the same binary protocol,
692 if [ -z "$GDBSERVER" ]; then
693 GDBSERVER=$(get_ndk_gdbserver "$ANDROID_NDK_ROOT" "$TARGET_ARCH")
694 if [ -z "$GDBSERVER" ]; then
695 panic "Can't find NDK gdbserver binary. use --gdbserver to specify \
698 log "Auto-config: --gdbserver=$GDBSERVER"
710 GDBSERVER_PIDFILE="$TMPDIR"/gdbserver-$TMP_ID.pid
712 # If --force is specified, try to kill any gdbserver process started by the
717 GDBSERVER_PIDS=$(adb_shell ps | awk '$9 ~ /gdbserver/ { print $2; }')
719 log "Killing previous gdbserver (PID=$GDB_PID)"
740 TARGET_GDBSERVER=/data/data/$PACKAGE_NAME/gdbserver-adb-gdb-$TMP_ID
741 TMP_TARGET_GDBSERVER=/data/local/tmp/gdbserver-adb-gdb-$TMP_ID
851 # If so, we can launch gdbserver directly, otherwise, we have to
916 # versions of gdbserver and $GDBNAME to ensure that everything works
920 # Push gdbserver to the device
921 log "Pushing gdbserver $GDBSERVER to $TARGET_GDBSERVER"
922 adb push $GDBSERVER $TMP_TARGET_GDBSERVER &>/dev/null
925 fail_panic "Could not copy gdbserver to the device!"
965 # Start gdbserver in the background
972 log "Starting gdbserver in the background:"
973 GDBSERVER_LOG=$TMPDIR/gdbserver-$TMP_ID.log
982 # Sleep to allow gdbserver to attach to the remote process and be
984 log "Sleeping ${ATTACH_DELAY}s to allow gdbserver to attach."
989 echo "ERROR: GDBServer either failed to run or attach to PID $PID!"