diff options
author | leozwang <leozwang@google.com> | 2014-08-15 09:51:27 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-12-09 16:08:24 -0800 |
commit | cbf0267f5b508f6933631e661a5be86f0bd89ed1 (patch) | |
tree | 8c46aa270cb85a52aaf458a731dd0cb5bd65e18d /adb/adb.h | |
parent | 3e16e2d6195e112a2bfe2f958e1cfec2bd109a1c (diff) | |
download | system_core-cbf0267f5b508f6933631e661a5be86f0bd89ed1.zip system_core-cbf0267f5b508f6933631e661a5be86f0bd89ed1.tar.gz system_core-cbf0267f5b508f6933631e661a5be86f0bd89ed1.tar.bz2 |
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.
(cherry-pick of adb09fa01a16d8c5c92c2f8d325e1678c531223f.)
Change-Id: I21021bc111a3f7362a91b70593e3738125878118
Diffstat (limited to 'adb/adb.h')
-rw-r--r-- | adb/adb.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -338,6 +338,9 @@ void put_apacket(apacket *p); int check_header(apacket *p); int check_data(apacket *p); +// Define it if you want to dump packets. +#define DEBUG_PACKETS 0 + #if !DEBUG_PACKETS #define print_packet(tag,p) do {} while (0) #endif |