Lines Matching refs:COMMANDS
293 gdb command script with the --script=<file> option. Note that its commands
320 --su-prefix=<prefix> Prepend <prefix> to 'adb shell' commands that are
612 # sub-shell commands we're going to launch, so take the PID of the launcher
980 # Generate a file containing useful GDB initialization commands
981 readonly COMMANDS=$TMPDIR/gdb.init
982 log "Generating GDB initialization commands file: $COMMANDS"
983 echo -n "" > $COMMANDS
984 echo "set print pretty 1" >> $COMMANDS
985 echo "python" >> $COMMANDS
986 echo "import sys" >> $COMMANDS
987 echo "sys.path.insert(0, '$CHROMIUM_SRC/tools/gdb/')" >> $COMMANDS
988 echo "try:" >> $COMMANDS
989 echo " import gdb_chrome" >> $COMMANDS
990 echo "finally:" >> $COMMANDS
991 echo " sys.path.pop(0)" >> $COMMANDS
992 echo "end" >> $COMMANDS
993 echo "file $TMPDIR/$GDBEXEC" >> $COMMANDS
994 echo "directory $CHROMIUM_SRC" >> $COMMANDS
995 echo "set solib-absolute-prefix $PULL_LIBS_DIR" >> $COMMANDS
997 >> $COMMANDS
999 >> $COMMANDS
1000 echo "target remote :$HOST_PORT" >> $COMMANDS
1003 cat "$GDBINIT" >> $COMMANDS
1007 echo "### START $COMMANDS"
1008 cat $COMMANDS
1009 echo "### END $COMMANDS"
1012 log "Launching gdb client: $GDB $GDB_ARGS -x $COMMANDS"
1013 $GDB $GDB_ARGS -x $COMMANDS &&