* 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
This commit is contained in:
naruse 2014-03-26 01:38:23 +00:00
Родитель b8ba4016ac
Коммит f3867e2203
2 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -1,3 +1,8 @@
Wed Mar 26 10:36:39 2014 NARUSE, Yui <naruse@ruby-lang.org>
* 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@ruby-lang.org>
* addr2line.c (fill_line): pass and use offset instead of

Просмотреть файл

@ -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);
}