6932270: Allow Java's ELF symtab reader to use separate debuginfo files

Reviewed-by: never
This commit is contained in:
Andrew Haley 2010-03-09 11:02:39 -08:00 committed by Tom Rodriguez
parent 94a808f51d
commit 11051a4e6a
7 changed files with 342 additions and 8 deletions

View file

@ -174,7 +174,7 @@ lib_info* add_lib_info_fd(struct ps_prochandle* ph, const char* libname, int fd,
return NULL;
}
newlib->symtab = build_symtab(newlib->fd);
newlib->symtab = build_symtab(newlib->fd, libname);
if (newlib->symtab == NULL) {
print_debug("symbol table build failed for %s\n", newlib->name);
}