mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
* 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
This commit is contained in:
parent
b3f491d3cb
commit
486795d951
3 changed files with 14 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue