Branch: Tag:

2009-11-28

2009-11-28 13:36:21 by Martin Stjernholm <mast@lysator.liu.se>

More rtldebug to get better info when gc_mark problems happen.

Rev: Makefile:1.168
Rev: src/array.c:1.226
Rev: src/gc.c:1.338
Rev: src/gc.h:1.138
Rev: src/mapping.c:1.214
Rev: src/multiset.c:1.119
Rev: src/object.c:1.304
Rev: src/pike_types.c:1.361
Rev: src/program.c:1.773
Rev: src/svalue.c:1.255

2:   || 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: pike_types.c,v 1.360 2009/04/11 12:42:22 grubba Exp $ + || $Id: pike_types.c,v 1.361 2009/11/28 13:36:21 mast Exp $   */      #include "global.h"
8022: Inside #if defined (PIKE_DEBUG) || defined (DO_PIKE_CLEANUP)
     void gc_mark_type_as_referenced(struct pike_type *t)   { -  if (gc_mark(t)) { +  if (gc_mark(t, PIKE_T_TYPE)) {    GC_ENTER(t, PIKE_T_TYPE) {    switch(t->type) {    case PIKE_T_SCOPE: