Branch: Tag:

2000-04-06

2000-04-06 21:00:20 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

more debug

Rev: src/main.c:1.87
Rev: src/object.c:1.97
Rev: src/pike_memory.c:1.62
Rev: src/program.c:1.222

5:   \*/   /**/   #include "global.h" - RCSID("$Id: main.c,v 1.86 2000/04/06 20:53:30 grubba Exp $"); + RCSID("$Id: main.c,v 1.87 2000/04/06 21:00:20 hubbe Exp $");   #include "fdlib.h"   #include "backend.h"   #include "module.h"
676: Inside #if defined(DO_PIKE_CLEANUP) and #if defined(PIKE_DEBUG) && defined(DEBUG_MALLOC)
   {    struct program *p;    for(p=first_program;p;p=p->next) -  { +     describe_something(p, T_PROGRAM, 1);    } -  } +           count_memory_in_objects(&num, &size);    if(num)    fprintf(stderr,"Objects left: %d (%d bytes)\n",num,size);    -  +  { +  struct object *o; +  for(o=first_object;o;o=o->next) +  describe_something(o, T_OBJECT, 1); +  } +     cleanup_shared_string_table();    }   #else