summaryrefslogtreecommitdiffstats
path: root/adb/fdevent.c
diff options
context:
space:
mode:
authorleozwang <leozwang@google.com>2014-08-07 08:24:09 -0700
committerLeo Wang <leozwang@google.com>2014-08-14 03:34:53 +0000
commit8693bc7abd39f9dcd4b73bdd43054de450a45a03 (patch)
tree294d606baaf956e6a35cdcfac6e512ca8932458d /adb/fdevent.c
parent7f0076fa3eb8d45f1a27f40f31ae562a14da47b4 (diff)
downloadsystem_core-8693bc7abd39f9dcd4b73bdd43054de450a45a03.zip
system_core-8693bc7abd39f9dcd4b73bdd43054de450a45a03.tar.gz
system_core-8693bc7abd39f9dcd4b73bdd43054de450a45a03.tar.bz2
Add more debug information.
Add socketpair debug log. Also output thread information in log on host side. Change-Id: I38168990d77e53eff69cb70f442cc4e7acb4b20f
Diffstat (limited to 'adb/fdevent.c')
-rw-r--r--adb/fdevent.c2
1 files changed, 2 insertions, 0 deletions
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 @@ void fdevent_subproc_setup()
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);