aboutsummaryrefslogtreecommitdiffstats
path: root/vm_dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_dump.c')
-rw-r--r--vm_dump.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/vm_dump.c b/vm_dump.c
index 2374bccbd1..23f0e571cf 100644
--- a/vm_dump.c
+++ b/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 */
-
}
}