Index: build/android/adb_gdb |
diff --git a/build/android/adb_gdb b/build/android/adb_gdb |
index c3ae3be6d19ac40d4023be812f58c293fe4e7410..4ff4eea6560df421009fd15aaa6f36264fb1ec33 100755 |
--- a/build/android/adb_gdb |
+++ b/build/android/adb_gdb |
@@ -547,7 +547,7 @@ ANDROID_TOOLCHAIN=${ANDROID_TOOLCHAIN%/} |
# Find host GDB client binary |
if [ -z "$GDB" ]; then |
GDB=$(which $ANDROID_TOOLCHAIN/*-$GDBEXEPOSTFIX 2>/dev/null | head -1) |
- if [ -z "$GDBSERVER" ]; then |
+ if [ -z "$GDB" ]; then |
panic "Can't find Android gdb client in your path, check your \ |
--toolchain or --gdb path." |
fi |