pike.git / src / gc.c

version» Context lines:

pike.git/src/gc.c:1058:   }      void debug_gc_fatal_2 (void *a, int type, int flags, const char *fmt, ...)   {    va_list args;    va_start (args, fmt);    debug_gc_fatal_va (a, type, flags, fmt, args);    va_end (args);   }    + #ifdef PIKE_DEBUG +    static void dloc_gc_fatal (const char *file, INT_TYPE line,    void *a, int flags, const char *fmt, ...)   {    va_list args;    fprintf (stderr, "%s:%ld: GC fatal:\n", file, (long)line);    va_start (args, fmt);    debug_gc_fatal_va (a, PIKE_T_UNKNOWN, flags, fmt, args);    va_end (args);   }   
pike.git/src/gc.c:1095: Inside #if defined (PIKE_DEBUG) || defined (GC_CYCLE_DEBUG)
   fprintf (stderr, "Describing frame %p: ", err);    describe_rec_frame (err);    fputc ('\n', stderr);    }   #endif    d_flag = 0; /* The instruction backlog is never of any use here. */    debug_fatal (NULL);    va_end (args);   }    - #ifdef PIKE_DEBUG -  +    static void gdb_gc_stop_here(void *a, int weak)   {    found_ref_count++;    fprintf(stderr,"***One %sref found%s. ",    weak ? "weak " : "",    gc_found_place ? gc_found_place : "");    if (gc_found_in) {    if (gc_svalue_location)    describe_location(gc_found_in , gc_found_in_type, gc_svalue_location,0,1,    DESCRIBE_SHORT);