1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
ko1 2007-06-17 17:47:35 +00:00
parent 4471bf2356
commit d220634bb7
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Mon Jun 18 02:48:12 2007 Koichi Sasada <ko1@atdot.net>
* vm_dump.c (vm_stack_dump_raw): hide VM stack trace.
Mon Jun 18 02:43:53 2007 Koichi Sasada <ko1@atdot.net>
* signal.c (sigsegv): clear gc_stress flag on SEGV.

View file

@ -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);