diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-28 01:17:51 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-28 01:17:51 +0000 |
commit | 0795c7168f7847550709e9e31410ba69dafeec7a (patch) | |
tree | db8ee3bc40671561b5e4e5a80f481ccaa969fa9c /vm_dump.c | |
parent | 7a01bfcdbab42c001d6a6f917da989f58b25c31c (diff) | |
download | ruby-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.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 */ - } } |