Merge "Recommend using pid instead of tid for gdbclient.py" am: 0d2105bf0b

am: d56fee7686

Change-Id: Ic38ecf92432566bebc4a4b6f1901a5cf06de768a
This commit is contained in:
Dimitry Ivanov 2017-09-13 23:11:54 +00:00 committed by android-build-merger
commit 3d3ede7249

View file

@ -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) {