diff options
author | Matt Johnston <matt@ucc.asn.au> | 2018-02-17 19:29:51 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2018-02-17 19:29:51 +0800 |
commit | 104e39e9caf447cb416a6d83ea7eedd4481ce4c3 (patch) | |
tree | b8b33aaee9f7336e592da7a916ee05bae3412c22 /debug.h | |
parent | 2b551518f8625f87a22ea1fde40e3c7d841bf9d0 (diff) | |
parent | 769be133237df6d9a4028645e7e9924be8544c8f (diff) | |
download | dropbear-104e39e9caf447cb416a6d83ea7eedd4481ce4c3.tar.gz |
merge from main
Diffstat (limited to 'debug.h')
-rw-r--r-- | debug.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -39,7 +39,9 @@ /*#define CHECKCLEARTOWRITE() assert(ses.writepayload->len == 0 && \ ses.writepayload->pos == 0)*/ +#ifndef CHECKCLEARTOWRITE #define CHECKCLEARTOWRITE() +#endif /* Define this, compile with -pg and set GMON_OUT_PREFIX=gmon to get gmon * output when Dropbear forks. This will allow it gprof to be used. @@ -54,6 +56,7 @@ /* you don't need to touch this block */ #if DEBUG_TRACE +extern int debug_trace; #define TRACE(X) dropbear_trace X; #define TRACE2(X) dropbear_trace2 X; #else /*DEBUG_TRACE*/ |