зеркало из https://github.com/github/ruby.git
revert r45417
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
7a01bfcdba
Коммит
0795c7168f
18
vm_dump.c
18
vm_dump.c
|
@ -818,6 +818,15 @@ rb_vm_bugreport(void)
|
|||
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) {
|
||||
fprintf(stderr, "-- Other runtime information "
|
||||
"-----------------------------------------------\n\n");
|
||||
|
@ -897,14 +906,5 @@ rb_vm_bugreport(void)
|
|||
fprintf(stderr, "\n");
|
||||
}
|
||||
#endif /* __FreeBSD__ */
|
||||
#if HAVE_BACKTRACE || defined(_WIN32)
|
||||
fprintf(stderr, "-- C level backtrace information "
|
||||
"-------------------------------------------\n");
|
||||
rb_print_backtrace();
|
||||
|
||||
|
||||
fprintf(stderr, "\n");
|
||||
#endif /* HAVE_BACKTRACE */
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче