pike.git / src / gc.c

version» Context lines:

pike.git/src/gc.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: gc.c,v 1.294 2007/06/17 00:06:08 mast Exp $ + || $Id: gc.c,v 1.295 2007/06/17 01:52:31 mast Exp $   */      #include "global.h"      struct callback *gc_evaluator_callback=0;      #include "array.h"   #include "multiset.h"   #include "mapping.h"   #include "object.h"
pike.git/src/gc.c:1031:   static void rec_stack_fatal (struct gc_rec_frame *err, const char *err_name,    struct gc_rec_frame *p1, const char *p1n,    struct gc_rec_frame *p2, const char *p2n,    const char *file, int line,    const char *fmt, ...)   {    va_list args;    va_start (args, fmt);    fprintf (stderr, msg_fatal_error, file, line);    (void) VFPRINTF (stderr, fmt, args); + #if defined (PIKE_DEBUG) || defined (GC_CYCLE_DEBUG)    fputs ("Recursion stack:\n", stderr);    describe_rec_stack (err, err_name, p1, p1n, p2, p2n);    if (err) {    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++;