From f3867e2203738c0ef5907e6b4251e780daa075c2 Mon Sep 17 00:00:00 2001 From: naruse Date: Wed, 26 Mar 2014 01:38:23 +0000 Subject: [PATCH] * addr2line.c (follow_debuglink): show message if it closes opened (and maybe used) elf binary. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ addr2line.c | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 817a6b8911..ef23c94f83 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Mar 26 10:36:39 2014 NARUSE, Yui + + * addr2line.c (follow_debuglink): show message if it closes opened + (and maybe used) elf binary. + Wed Mar 26 10:34:25 2014 NARUSE, Yui * addr2line.c (fill_line): pass and use offset instead of diff --git a/addr2line.c b/addr2line.c index 95f4ea0f11..686d8b91c0 100644 --- a/addr2line.c +++ b/addr2line.c @@ -460,6 +460,7 @@ follow_debuglink(char *debuglink, int num_traces, void **traces, char **syms, 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); }