Lines Matching refs:gdb
62 DEFAULT_PULL_LIBS_DIR=/tmp/$USER-adb-gdb-libs
86 GDBEXEPOSTFIX=gdb
209 Attach gdb to a running Android $PROGRAM_NAME process.
216 Attach gdb to a running Android $PROGRAM_NAME process.
234 - host gdb client (e.g. arm-linux-androideabi-gdb)
241 the script will use it to find the gdb and gdbserver binaries. You can
261 --gdb and --symbol-lib options to specify everything manually.
263 An alternative to --gdb=<file> is to use --toollchain=<path> to specify
284 gdb command script with the --script=<file> option. Note that its commands
285 will be passed to gdb after the remote connection and library symbol
300 --ui Use gdbtui instead of gdb
302 --annotate=<num> Enable gdb annotation.
303 --script=<file> Specify extra GDB init script.
306 --gdb=<program> Specify host gdb client binary.
369 # NDK-specific files (host gdb) with it.
523 # use the NDK versions of gdb and gdbserver. They must match to avoid
544 # Find host GDB client binary
545 GDB=$(which $ANDROID_TOOLCHAIN/*-$GDBEXEPOSTFIX 2>/dev/null | head -1)
546 if [ -z "$GDB" ]; then
547 panic "Can't find Android gdb client in your path, check your \
550 log "Host gdb client: $GDB"
553 # This ensures that both gdbserver and $GDB talk the same binary protocol,
600 TMPDIR=/tmp/$USER-adb-gdb-tmp-$TMP_ID
722 TARGET_GDBSERVER=/data/local/tmp/gdbserver-adb-gdb-$TMP_ID
787 # If requested, work for M-x gdb. The gdb indirections make it
788 # difficult to pass --annotate=3 to the gdb binary itself.
938 # Generate a file containing useful GDB initialization commands
939 readonly COMMANDS=$TMPDIR/gdb.init
940 log "Generating GDB initialization commands file: $COMMANDS"
961 log "Launching gdb client: $GDB $GDBARGS -x $COMMANDS"
962 $GDB $GDBARGS -x $COMMANDS &&