1997-10-14
1997-10-14 03:11:10 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
-
14224155525a9a2da1cdc0fb3d2233483237b162
(13 lines)
(+8/-5)
[
Show
| Annotate
]
Branch: 7.9
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;