summaryrefslogtreecommitdiff
path: root/vm_dump.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-17 17:47:35 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-17 17:47:35 +0000
commitd220634bb7d1e3b13e12fe444de709c4ab9df458 (patch)
tree7ebe0e2a842b1dc3316f84304dc5da0bb3950c14 /vm_dump.c
parent4471bf2356b86683c8490de12d2d199eea461e3a (diff)
* vm_dump.c (vm_stack_dump_raw): hide VM stack trace.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_dump.c')
-rw-r--r--vm_dump.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vm_dump.c b/vm_dump.c
index 815a03e..cd924f3 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);