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

ruby-changes:33343

From: naruse <ko1@a...>
Date: Wed, 26 Mar 2014 10:38:35 +0900 (JST)
Subject: [ruby-changes:33343] naruse:r45422 (trunk): * addr2line.c (follow_debuglink): show message if it closes opened

naruse	2014-03-26 10:38:23 +0900 (Wed, 26 Mar 2014)

  New Revision: 45422

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

  Log:
    * addr2line.c (follow_debuglink): show message if it closes opened
      (and maybe used) elf binary.

  Modified files:
    trunk/ChangeLog
    trunk/addr2line.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 45421)
+++ ChangeLog	(revision 45422)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Mar 26 10:36:39 2014  NARUSE, Yui  <naruse@r...>
+
+	* addr2line.c (follow_debuglink): show message if it closes opened
+	  (and maybe used) elf binary.
+
 Wed Mar 26 10:34:25 2014  NARUSE, Yui  <naruse@r...>
 
 	* addr2line.c (fill_line): pass and use offset instead of
Index: addr2line.c
===================================================================
--- addr2line.c	(revision 45421)
+++ addr2line.c	(revision 45422)
@@ -460,6 +460,7 @@ follow_debuglink(char *debuglink, int nu https://github.com/ruby/ruby/blob/trunk/addr2line.c#L460
     strlcat(binary_filename, debuglink, PATH_MAX);
 
     if (current_line->fd2) {
+	kprintf("follow_debuglink twice %s\n", binary_filename);
 	munmap(current_line->mapped2, current_line->mapped_size2);
 	close(current_line->fd2);
     }

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

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