mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* vm_dump.c (rb_print_backtrace): our addr2line doesn't work on sparc.
http://rubyci.s3.amazonaws.com/unstable11s/ruby-trunk/log/20151027T043311Z.log.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ec4ba1b728
commit
17e5dff210
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Tue Oct 27 16:12:37 2015 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
|
* vm_dump.c (rb_print_backtrace): our addr2line doesn't work on sparc.
|
||||||
|
http://rubyci.s3.amazonaws.com/unstable11s/ruby-trunk/log/20151027T043311Z.log.html.gz
|
||||||
|
|
||||||
Tue Oct 27 12:00:33 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Tue Oct 27 12:00:33 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* lib/logger.rb (Logger::Period#next_rotate_time): get rid of
|
* lib/logger.rb (Logger::Period#next_rotate_time): get rid of
|
||||||
|
|
|
@ -686,7 +686,7 @@ rb_print_backtrace(void)
|
||||||
#define MAX_NATIVE_TRACE 1024
|
#define MAX_NATIVE_TRACE 1024
|
||||||
static void *trace[MAX_NATIVE_TRACE];
|
static void *trace[MAX_NATIVE_TRACE];
|
||||||
int n = (int)backtrace(trace, MAX_NATIVE_TRACE);
|
int n = (int)backtrace(trace, MAX_NATIVE_TRACE);
|
||||||
#if defined(USE_ELF) && defined(HAVE_DLADDR)
|
#if defined(USE_ELF) && defined(HAVE_DLADDR) && !defined(__sparc)
|
||||||
rb_dump_backtrace_with_lines(n, trace);
|
rb_dump_backtrace_with_lines(n, trace);
|
||||||
#else
|
#else
|
||||||
char **syms = backtrace_symbols(trace, n);
|
char **syms = backtrace_symbols(trace, n);
|
||||||
|
|
Loading…
Reference in a new issue