Annotation of coherent/d/bin/nroff/codebug.h, revision 1.1.1.1

1.1       root        1: /*
                      2:  * codebug.h
                      3:  * Nroff/Troff.
                      4:  * Debugging header.
                      5:  */
                      6: 
                      7: #ifndef        CODEBUG_H
                      8: #define        CODEBUG_H               /* Process this only once...    */
                      9: 
                     10: #ifndef        DDEBUG
                     11: #define        DDEBUG  0               /* Default to a level of 0      */
                     12: #endif
                     13: 
                     14: #define        DBGCHEK 0x0001          /* Various check points */
                     15: #define        DBGREGS 0x0002          /* Register creation    */
                     16: #define        DBGREGX 0x0004          /* Register access      */
                     17: #define        DBGCODE 0x0008          /* Output codes         */
                     18: #define        DBGDIVR 0x0010          /* Diversions and traps */
                     19: #define        DBGFILE 0x0020          /* File access          */
                     20: #define        DBGFUNC 0x0040          /* Various functions    */
                     21: #define        DBGCHAR 0x0080          /* Characters           */
                     22: #define        DBGPROC 0x0100          /* "process" debugging  */
                     23: #define        DBGMACX 0x0200          /* Macro execution      */
                     24: #define        DBGREQX 0x0400          /* request processing   */
                     25: #define        DBGMISC 0x0800          /* Misc. things         */
                     26: #define        DBGMOVE 0x1000          /* "pel" movement       */
                     27: #define        DBGENVR 0x2000          /* Environment          */
                     28: #define        DBGCALL 0x4000          /* Special call stuff   */
                     29: 
                     30: #if    DDEBUG
                     31: #define        dprintd(a,b)    printd(a, b)            /* debug information    */
                     32: #define        dprint2(a,b,c)  printd(a, b, c)         /* debug info with arg. */
                     33: #define        dprint3(a,b,c,d) printd(a, b, c, d)     /* debug info with args */
                     34: #else
                     35: #define        dprintd(a, b)                           /* Not without debug!   */
                     36: #define        dprint2(a, b, c)                        /*                      */
                     37: #define        dprint3(a, b, c, d)                     /*                      */
                     38: #endif
                     39: 
                     40: extern int dbglvl;                             /* Debugging level.     */
                     41: #endif
                     42: 
                     43: /* end of codebug.h */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.