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:
parent
7a01bfcdba
commit
0795c7168f
1 changed files with 9 additions and 9 deletions
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 */
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue