summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorbcwhite@chromium.org <bcwhite@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-24 02:34:38 +0000
committerbcwhite@chromium.org <bcwhite@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-24 02:34:38 +0000
commit222d547268b605d2d52b0ae952c377d816337ab8 (patch)
treec848f0d0ad77e18210446e98809e9fa23a63fd27 /build
parented001e58641c80434c71de1f3e60cb74e2b4fda2 (diff)
downloadchromium_src-222d547268b605d2d52b0ae952c377d816337ab8.zip
chromium_src-222d547268b605d2d52b0ae952c377d816337ab8.tar.gz
chromium_src-222d547268b605d2d52b0ae952c377d816337ab8.tar.bz2
Fixed some problems with tools.
- "cd" under some bash settings can print the current directory - adb_gdb variable use is missing undescore BUG= Review URL: https://codereview.chromium.org/292983014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272686 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rwxr-xr-xbuild/android/adb_gdb6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/android/adb_gdb b/build/android/adb_gdb
index 16f875c..93bb317 100755
--- a/build/android/adb_gdb
+++ b/build/android/adb_gdb
@@ -16,7 +16,7 @@ PROGNAME=$(basename "$0")
PROGDIR=$(dirname "$0")
# Location of Chromium-top-level sources.
-CHROMIUM_SRC=$(cd "$PROGDIR"/../.. && pwd 2>/dev/null)
+CHROMIUM_SRC=$(cd "$PROGDIR"/../.. >/dev/null && pwd 2>/dev/null)
# Location of Chromium out/ directory.
if [ -z "$CHROMIUM_OUT_DIR" ]; then
@@ -991,6 +991,6 @@ if [ "$VERBOSE" -gt 0 ]; then
echo "### END $COMMANDS"
fi
-log "Launching gdb client: $GDB $GDBARGS -x $COMMANDS"
-$GDB $GDBARGS -x $COMMANDS &&
+log "Launching gdb client: $GDB $GDB_ARGS -x $COMMANDS"
+$GDB $GDB_ARGS -x $COMMANDS &&
rm -f "$GDBSERVER_PIDFILE"