[前][次][番号順一覧][スレッド一覧]

ruby-changes:40215

From: naruse <ko1@a...>
Date: Tue, 27 Oct 2015 16:14:02 +0900 (JST)
Subject: [ruby-changes:40215] naruse:r52296 (trunk): * vm_dump.c (rb_print_backtrace): our addr2line doesn't work on sparc.

naruse	2015-10-27 16:13:39 +0900 (Tue, 27 Oct 2015)

  New Revision: 52296

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52296

  Log:
    * 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

  Modified files:
    trunk/ChangeLog
    trunk/vm_dump.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 52295)
+++ ChangeLog	(revision 52296)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Oct 27 16:12:37 2015  NARUSE, Yui  <naruse@r...>
+
+	* 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@r...>
 
 	* lib/logger.rb (Logger::Period#next_rotate_time): get rid of
Index: vm_dump.c
===================================================================
--- vm_dump.c	(revision 52295)
+++ vm_dump.c	(revision 52296)
@@ -686,7 +686,7 @@ rb_print_backtrace(void) https://github.com/ruby/ruby/blob/trunk/vm_dump.c#L686
 #define MAX_NATIVE_TRACE 1024
     static void *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);
 #else
     char **syms = backtrace_symbols(trace, n);

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]