Branch: Tag:

1997-10-14

1997-10-14 03:11:10 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

gdb_gc_stop_here reactivated

Rev: src/gc.c:1.15

147: Inside #if defined(DEBUG)
  #ifdef DEBUG    if(m->refs + m->xrefs > *(INT32 *)a)    { +  INT32 refs=m->refs; +  INT32 xrefs=m->xrefs;    check_for=a; -  fatal("Ref counts are wrong (has %d, found %d + %d external)\n", -  *(INT32 *)a, -  m->refs, -  m->xrefs); +        gc_check_all_arrays();    gc_check_all_multisets();
161: Inside #if defined(DEBUG)
   call_callback(& gc_callbacks, (void *)0);       check_for=0; -  fatal("Ref counts are totally wrong!!!\n"); +  +  fatal("Ref counts are wrong (has %d, found %d + %d external)\n", +  *(INT32 *)a, +  refs, +  xrefs);    }   #endif    return m->refs < *(INT32 *)a;