Annotation of cci/usr/src/bin/cdb/end.c, revision 1.1

1.1     ! root        1: /* @(#)end.c   2.4 */
        !             2: /* if you need more space for string constants, increase size of __buffer */
        !             3: char   __buffer[200];
        !             4: char   _bufMax;        /* used only to size the buffer */
        !             5: 
        !             6: _end_()
        !             7: {
        !             8: #ifndef TAHOE
        !             9: #ifndef VAX
        !            10:        int     x;
        !            11:        x = 1;  /* just something to hang a breakpoint on - see proc.c */
        !            12: #endif
        !            13: #else
        !            14:        /* proc.c sets r1 == numarg and r0 == the procedure address */
        !            15:        asm("vadrCall:");
        !            16:        asm("calls      r1,(r0)");
        !            17: 
        !            18:        asm("vadrBreak:");
        !            19:        asm("bpt");
        !            20: #endif
        !            21: 
        !            22:        /* If you want to force certain routines from the standard libraries to be
        !            23:         * available during debugging, place a reference to them here.  It is not
        !            24:         * necessary for the call to be a 'complete' one, just enough to force the
        !            25:         * loader to bring it in. For example, saying:
        !            26:                printf();
        !            27:         * is sufficient to load printf (assuming that it wasn't already
        !            28:         * referenced in your normal program modules.
        !            29:         *
        !            30:  * If you do this, do it to YOUR OWN COPY(!!) of end.c, not the main one!
        !            31:         */
        !            32: }

unix.superglobalmegacorp.com

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