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
This commit is contained in:
Josh Gao 2017-03-01 11:29:59 -08:00
parent 1adeeb8b3c
commit 310b6ff676

View file

@ -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
}