diff options
Diffstat (limited to 'vm_dump.c')
-rw-r--r-- | vm_dump.c | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -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 */ - } } |