Branch: Tag:

2003-09-09

2003-09-09 15:00:58 by Martin Stjernholm <mast@lysator.liu.se>

Don't print very volymous variable and constant values for objects and
programs in the _describe output.

Rev: src/gc.c:1.231

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: gc.c,v 1.230 2003/09/09 14:30:17 mast Exp $ + || $Id: gc.c,v 1.231 2003/09/09 15:00:58 mast Exp $   */      #include "global.h"
33:      #include "block_alloc.h"    - RCSID("$Id: gc.c,v 1.230 2003/09/09 14:30:17 mast Exp $"); + RCSID("$Id: gc.c,v 1.231 2003/09/09 15:00:58 mast Exp $");      int gc_enabled = 1;   
817: Inside #if defined(PIKE_DEBUG)
   else    assign_from_short_svalue_no_free (    Pike_sp++, (union anything *) ptr, id->run_time_type); -  print_svalue (stderr, Pike_sp - 1); +  print_svalue_compact (stderr, Pike_sp - 1);    pop_stack();       fputc ('\n', stderr);
972: Inside #if defined(PIKE_DEBUG)
   fprintf (stderr, " pc: %"PRINTPTRDIFFT"d", id->func.offset);    else if (IDENTIFIER_IS_CONSTANT (id->identifier_flags)) {    fputs (" value: ", stderr); -  print_svalue (stderr, &id_inh->prog->constants[id->func.offset].sval); +  print_svalue_compact (stderr, &id_inh->prog->constants[id->func.offset].sval);    }       fputc ('\n', stderr);