Mercurial > hg > truffle
comparison agent/src/os/linux/libproc_impl.c @ 1294:7de45b5044c3
6932270: Allow Java's ELF symtab reader to use separate debuginfo files
Reviewed-by: never
Contributed-by: Andrew Haley <aph@redhat.com>
author | never |
---|---|
date | Tue, 09 Mar 2010 11:02:39 -0800 |
parents | a61af66fc99e |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
1293:51db1e4b379d | 1294:7de45b5044c3 |
---|---|
172 close(newlib->fd); | 172 close(newlib->fd); |
173 free(newlib); | 173 free(newlib); |
174 return NULL; | 174 return NULL; |
175 } | 175 } |
176 | 176 |
177 newlib->symtab = build_symtab(newlib->fd); | 177 newlib->symtab = build_symtab(newlib->fd, libname); |
178 if (newlib->symtab == NULL) { | 178 if (newlib->symtab == NULL) { |
179 print_debug("symbol table build failed for %s\n", newlib->name); | 179 print_debug("symbol table build failed for %s\n", newlib->name); |
180 } | 180 } |
181 | 181 |
182 // even if symbol table building fails, we add the lib_info. | 182 // even if symbol table building fails, we add the lib_info. |