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

revert r45417

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2014-03-28 01:17:51 +00:00
parent 7a01bfcdba
commit 0795c7168f

View file

@ -818,6 +818,15 @@ rb_vm_bugreport(void)
fputs("\n", stderr); fputs("\n", stderr);
} }
#if HAVE_BACKTRACE || defined(_WIN32)
fprintf(stderr, "-- C level backtrace information "
"-------------------------------------------\n");
rb_print_backtrace();
fprintf(stderr, "\n");
#endif /* HAVE_BACKTRACE */
if (other_runtime_info || vm) { if (other_runtime_info || vm) {
fprintf(stderr, "-- Other runtime information " fprintf(stderr, "-- Other runtime information "
"-----------------------------------------------\n\n"); "-----------------------------------------------\n\n");
@ -897,14 +906,5 @@ rb_vm_bugreport(void)
fprintf(stderr, "\n"); fprintf(stderr, "\n");
} }
#endif /* __FreeBSD__ */ #endif /* __FreeBSD__ */
#if HAVE_BACKTRACE || defined(_WIN32)
fprintf(stderr, "-- C level backtrace information "
"-------------------------------------------\n");
rb_print_backtrace();
fprintf(stderr, "\n");
#endif /* HAVE_BACKTRACE */
} }
} }