summaryrefslogtreecommitdiff
path: root/addr2line.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-26 01:38:23 (GMT)
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-26 01:38:23 (GMT)
commitf3867e2203738c0ef5907e6b4251e780daa075c2 (patch)
tree716c3918c6908ada37cbe97d392de41a35073cea /addr2line.c
parentb8ba4016acf8bfbe6189bc9d9377340cd869e041 (diff)
* 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
Diffstat (limited to 'addr2line.c')
-rw-r--r--addr2line.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/addr2line.c b/addr2line.c
index 95f4ea0..686d8b9 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);
}