commit | adb09fa01a16d8c5c92c2f8d325e1678c531223f | [log] [tgz] |
---|---|---|
author | leozwang <leozwang@google.com> | Fri Aug 15 09:51:27 2014 -0700 |
committer | Leo Wang <leozwang@google.com> | Fri Aug 22 16:11:58 2014 +0000 |
tree | 000b627a588bba1b23020eca9560956078a4da6a | |
parent | 541a7d796aae220e631d2416e4aab4d31293219f [diff] [blame] |
Add more debug information. Re-commit https://googleplex-android-review.googlesource.com/#/c/519430/ Add fix for win_sdk build. Add socketpair debug log. Also output thread information in log on host side. Change-Id: I21021bc111a3f7362a91b70593e3738125878118
diff --git a/adb/fdevent.c b/adb/fdevent.c index 43e600c..f5ecd14 100644 --- a/adb/fdevent.c +++ b/adb/fdevent.c
@@ -661,6 +661,8 @@ if(adb_socketpair(s)) { FATAL("cannot create shell-exit socket-pair\n"); } + D("socketpair: (%d,%d)", s[0], s[1]); + SHELL_EXIT_NOTIFY_FD = s[0]; fdevent *fde; fde = fdevent_create(s[1], fdevent_subproc_event_func, NULL);