Home | History | Annotate | Download | only in android

Lines Matching refs:GDB

67 DEFAULT_PULL_LIBS_DIR=/tmp/$USER-adb-gdb-libs
91 GDBEXEPOSTFIX=gdb
129 --gdb=*)
130 GDB=$optarg
220 Attach gdb to a running Android $PROGRAM_NAME process.
227 Attach gdb to a running Android $PROGRAM_NAME process.
245 - host gdb client (e.g. arm-linux-androideabi-gdb)
252 the script will use it to find the gdb and gdbserver binaries. You can
275 --gdb and --symbol-lib options to specify everything manually.
277 An alternative to --gdb=<file> is to use --toollchain=<path> to specify
298 gdb command script with the --script=<file> option. Note that its commands
299 will be passed to gdb after the remote connection and library symbol
315 --ui Use gdbtui instead of gdb
317 --annotate=<num> Enable gdb annotation.
318 --script=<file> Specify extra GDB init script.
321 --gdb=<file> Specify host gdb client binary.
384 # NDK-specific files (host gdb) with it.
538 # use the NDK versions of gdb and gdbserver. They must match to avoid
559 # Find host GDB client binary
560 if [ -z "$GDB" ]; then
561 GDB=$(which $ANDROID_TOOLCHAIN/*-$GDBEXEPOSTFIX 2>/dev/null | head -1)
562 if [ -z "$GDB" ]; then
563 panic "Can't find Android gdb client in your path, check your \
564 --toolchain or --gdb path."
566 log "Host gdb client: $GDB"
570 # This ensures that both gdbserver and $GDB talk the same binary protocol,
617 TMPDIR=/tmp/$USER-adb-gdb-tmp-$TMP_ID
739 TARGET_GDBSERVER=/data/local/tmp/gdbserver-adb-gdb-$TMP_ID
804 # If requested, work for M-x gdb. The gdb indirections make it
805 # difficult to pass --annotate=3 to the gdb binary itself.
955 # Generate a file containing useful GDB initialization commands
956 readonly COMMANDS=$TMPDIR/gdb.init
957 log "Generating GDB initialization commands file: $COMMANDS"
978 log "Launching gdb client: $GDB $GDBARGS -x $COMMANDS"
979 $GDB $GDBARGS -x $COMMANDS &&