android: pythonthreefication kicks to stack.py
These changes made the stack tool work for me without hanging
and crashing in Python3.
I did not inspect the surrounding code and did not test with other tools
from bin/, YMMV.
Also I was confused with these things done by the tool:
1. Copying its input to the output before processing it. :butwhymeme:
- removed this printing
2. Ignoring EOF
- change it to stop processing input when encountering EOF (i.e.
pressing Ctrl+D ends the session quietly)
3. Waiting for a line "not looking like backtrace" to start symbolizing
- clarified this in the welcome message
# Now paste a crash from logcat.
Test: out/AndroidRelease/bin/trichrome_chrome_google_bundle stack \
Reviewed-by: Dirk Pranke <firstname.lastname@example.org>
Reviewed-by: Andrew Grieve <email@example.com>
Commit-Queue: Egor Pasko <firstname.lastname@example.org>
2 files changed