summaryrefslogtreecommitdiff
path: root/vm_dump.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-12 07:36:32 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-12 07:36:32 +0000
commit486795d95124c8d2bdaf4ae84a282e3879cb367c (patch)
treefadb55b28cff75206adc97da09765442cc7596de /vm_dump.c
parentb3f491d3cb55b06029edf790ccf26cb6be50e28a (diff)
* configure.in: add -fno-omit-frame-pointer if libexecinfo is used.
At least on FreeBSD ruby will crash on getting C backtrace when it is compiled with other than -O0. * vm_dump.c: enable backtrace on FreeBSD even if with optimizations. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_dump.c')
-rw-r--r--vm_dump.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/vm_dump.c b/vm_dump.c
index c2fa33f..292280c 100644
--- a/vm_dump.c
+++ b/vm_dump.c
@@ -424,9 +424,6 @@ rb_vmdebug_thread_dump_state(VALUE self)
return Qnil;
}
-#if defined(__FreeBSD__) && defined(__OPTIMIZE__)
-#undef HAVE_BACKTRACE
-#endif
#ifndef HAVE_BACKTRACE
#define HAVE_BACKTRACE 0
#endif