1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
parent b8ba4016ac
commit f3867e2203
2 changed files with 6 additions and 0 deletions

View file

@ -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

View file

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