diff options
author | dimitry <dimitry@google.com> | 2017-09-12 10:46:20 +0200 |
---|---|---|
committer | dimitry <dimitry@google.com> | 2017-09-12 10:47:50 +0200 |
commit | 6429e204940bc3de9051eac01a5e3d9f510a6109 (patch) | |
tree | fe42a3c0052a94355830bec811ca2ad940fbc8af /debuggerd/crash_dump.cpp | |
parent | 2dac833ea81fae56c01803e9c7cdd1dd81555622 (diff) | |
download | core-6429e204940bc3de9051eac01a5e3d9f510a6109.tar.gz core-6429e204940bc3de9051eac01a5e3d9f510a6109.tar.bz2 core-6429e204940bc3de9051eac01a5e3d9f510a6109.zip |
Recommend using pid instead of tid for gdbclient.py
Using pid allows to examine other threads after gdb
is attached to a crashing process.
Test: make
Change-Id: Ie4bab0925d7abde7f114791848fa5563db245c8e
Diffstat (limited to 'debuggerd/crash_dump.cpp')
-rw-r--r-- | debuggerd/crash_dump.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/debuggerd/crash_dump.cpp b/debuggerd/crash_dump.cpp index dfc74fb9d..6ef3ed650 100644 --- a/debuggerd/crash_dump.cpp +++ b/debuggerd/crash_dump.cpp @@ -462,14 +462,14 @@ int main(int argc, char** argv) { if (wait_for_gdb) { // Use ALOGI to line up with output from engrave_tombstone. ALOGI( - "***********************************************************\n" - "* Process %d has been suspended while crashing.\n" - "* To attach gdbserver and start gdb, run this on the host:\n" - "*\n" - "* gdbclient.py -p %d\n" - "*\n" - "***********************************************************", - target, main_tid); + "***********************************************************\n" + "* Process %d has been suspended while crashing.\n" + "* To attach gdbserver and start gdb, run this on the host:\n" + "*\n" + "* gdbclient.py -p %d\n" + "*\n" + "***********************************************************", + target, target); } if (fatal_signal) { |