aboutsummaryrefslogtreecommitdiffstats
path: root/envsetup.sh
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2017-03-01 19:29:59 (GMT)
committerJosh Gao <jmgao@google.com>2017-03-01 19:34:58 (GMT)
commit310b6ff6760e82ed603e7b5349446ab41451e17f (patch)
tree286646922c5111491969039fc8bf1fd125d1b458 /envsetup.sh
parent1adeeb8b3c7fca3e02ca84cd63e9bb266228b0b9 (diff)
downloadandroid_build-310b6ff6760e82ed603e7b5349446ab41451e17f.zip
android_build-310b6ff6760e82ed603e7b5349446ab41451e17f.tar.gz
android_build-310b6ff6760e82ed603e7b5349446ab41451e17f.tar.bz2
Fix stacks on 64 bit processes.
debuggerd64 doesn't exist anymore, `debuggerd $PID` works on both 32 and 64 bit processes. Bug: http://b/35872661 Change-Id: I47be05c7ec346e5d657d06e6c3aff1723494639b
Diffstat (limited to 'envsetup.sh')
-rw-r--r--envsetup.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/envsetup.sh b/envsetup.sh
index b239441..9680780 100644
--- a/envsetup.sh
+++ b/envsetup.sh
@@ -1148,8 +1148,7 @@ function stacks()
adb shell cat $TMP
else
# Dump stacks of native process
- local USE64BIT="$(is64bit $PID)"
- adb shell debuggerd$USE64BIT -b $PID
+ adb shell debuggerd -b $PID
fi
fi
}