aboutsummaryrefslogtreecommitdiffstats
path: root/vm_dump.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-28 01:17:51 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-28 01:17:51 +0000
commit0795c7168f7847550709e9e31410ba69dafeec7a (patch)
treedb8ee3bc40671561b5e4e5a80f481ccaa969fa9c /vm_dump.c
parent7a01bfcdbab42c001d6a6f917da989f58b25c31c (diff)
downloadruby-0795c7168f7847550709e9e31410ba69dafeec7a.tar.gz
revert r45417
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 */
-
}
}