pike.git / src / gc.c

version» Context lines:

pike.git/src/gc.c:1645:    get_name_of_type(t),    *(INT32 *)a);       low_describe_something(a,t,indent,depth,flags,inblock);      #ifdef DEBUG_MALLOC    if(!(flags & DESCRIBE_NO_DMALLOC))    debug_malloc_dump_references(a,indent+2,depth-1,flags);   #endif    } + #if defined(USE_VALGRIND) && defined(VALGRIND_MONITOR_COMMAND) +  if (PIKE_MEM_CHECKER()) { +  char buf[40]; +  snprintf(buf, 40, "v.info location %p", a); +  fprintf(stderr, "**Valgrind info:\n"); +  VALGRIND_MONITOR_COMMAND(buf); +  } + #endif    -  +     fprintf(stderr,"%*s*******************\n",indent,"");    d_flag=tmp;   }      PMOD_EXPORT void describe(void *x)   {    void *inblock;    int type = attempt_to_identify(x, &inblock);    describe_something(x, type, 0, 0, 0, inblock);   }