Mercurial > dropbear
comparison debug.h @ 1677:e05c0e394f1d
Make DEBUG_NOFORK a #if not #ifdef
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 21 May 2020 22:58:56 +0800 |
parents | 5916af64acd4 |
children | 3f80da5fe0b4 |
comparison
equal
deleted
inserted
replaced
1676:d5cdc60db08e | 1677:e05c0e394f1d |
---|---|
64 #define TRACE2(X) | 64 #define TRACE2(X) |
65 #endif /*DEBUG_TRACE*/ | 65 #endif /*DEBUG_TRACE*/ |
66 | 66 |
67 /* To debug with GDB it is easier to run with no forking of child processes. | 67 /* To debug with GDB it is easier to run with no forking of child processes. |
68 You will need to pass "-F" as well. */ | 68 You will need to pass "-F" as well. */ |
69 /* #define DEBUG_NOFORK */ | 69 #ifndef DEBUG_NOFORK |
70 #define DEBUG_NOFORK 0 | |
71 #endif | |
70 | 72 |
71 | 73 |
72 /* For testing as non-root on shadowed systems, include the crypt of a password | 74 /* For testing as non-root on shadowed systems, include the crypt of a password |
73 * here. You can then log in as any user with this password. Ensure that you | 75 * here. You can then log in as any user with this password. Ensure that you |
74 * make your own password, and are careful about using this. This will also | 76 * make your own password, and are careful about using this. This will also |