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

ruby-changes:33362

From: naruse <ko1@a...>
Date: Thu, 27 Mar 2014 06:46:27 +0900 (JST)
Subject: [ruby-changes:33362] naruse:r45441 (trunk): temporally change for powerpc64-linux fc18

naruse	2014-03-27 06:46:23 +0900 (Thu, 27 Mar 2014)

  New Revision: 45441

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

  Log:
    temporally change for powerpc64-linux fc18
    
    fc18 powerpc64's libc6-dbg has symtab/strtab but it can't be
    referenced. therefore add workaround not to see them.

  Modified files:
    trunk/addr2line.c
Index: addr2line.c
===================================================================
--- addr2line.c	(revision 45440)
+++ addr2line.c	(revision 45441)
@@ -541,7 +541,7 @@ fill_lines(int num_traces, void **traces https://github.com/ruby/ruby/blob/trunk/addr2line.c#L541
 	}
     }
 
-    if (symtab_shdr && strtab_shdr) {
+    if (check_debuglink && symtab_shdr && strtab_shdr) {
 	char *strtab = file + strtab_shdr->sh_offset;
 	ElfW(Sym) *symtab = (ElfW(Sym) *)(file + symtab_shdr->sh_offset);
 	int symtab_count = (int)(symtab_shdr->sh_size / sizeof(ElfW(Sym)));

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

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