diff --git a/ChangeLog b/ChangeLog index cc2bb03f8b..99bb7ae1d4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Jun 18 02:48:12 2007 Koichi Sasada + + * vm_dump.c (vm_stack_dump_raw): hide VM stack trace. + Mon Jun 18 02:43:53 2007 Koichi Sasada * signal.c (sigsegv): clear gc_stress flag on SEGV. diff --git a/vm_dump.c b/vm_dump.c index 815a03e38c..cd924f3c66 100644 --- a/vm_dump.c +++ b/vm_dump.c @@ -146,6 +146,7 @@ vm_stack_dump_raw(rb_thread_t *th, rb_control_frame_t *cfp) VALUE *dfp = cfp->dfp; VALUE *p, *st, *t; +#if 0 fprintf(stderr, "-- stack frame ------------\n"); for (p = st = th->stack; p < sp; p++) { fprintf(stderr, "%04ld (%p): %08lx", p - st, p, *p); @@ -164,6 +165,7 @@ vm_stack_dump_raw(rb_thread_t *th, rb_control_frame_t *cfp) fprintf(stderr, "\n"); } +#endif fprintf(stderr, "-- control frame ----------\n"); while ((void *)cfp < (void *)(th->stack + th->stack_size)) { control_frame_dump(th, cfp);