summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gdbclient4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/gdbclient b/scripts/gdbclient
index acfb9c7be..7f24f6ca5 100755
--- a/scripts/gdbclient
+++ b/scripts/gdbclient
@@ -68,6 +68,10 @@ function gdbclient() {
fi
local OUT_ROOT="$ROOT/out/target/product/$DEVICE"
+ if [[ ! -d "$OUT_ROOT" && -n "$OUT" ]]; then
+ # The case where OUT_DIR_COMMON_BASE is used
+ OUT_ROOT="$OUT"
+ fi
local SYMBOLS_DIR="$OUT_ROOT/symbols"
local IS_TAPAS_USER="$(get_build_var TARGET_BUILD_APPS)"
local TAPAS_SYMBOLS_DIR=