Commit 607a07f4 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

dbghelp: When loading ELF public information, handle the cases when we don't get an address.

parent ae62524d
...@@ -650,8 +650,8 @@ static int elf_new_wine_thunks(struct module* module, struct hash_table* ht_symt ...@@ -650,8 +650,8 @@ static int elf_new_wine_thunks(struct module* module, struct hash_table* ht_symt
ULONG64 ref_addr; ULONG64 ref_addr;
symt = symt_find_nearest(module, addr); symt = symt_find_nearest(module, addr);
if (symt) if (symt && !symt_get_info(&symt->symt, TI_GET_ADDRESS, &ref_addr))
symt_get_info(&symt->symt, TI_GET_ADDRESS, &ref_addr); ref_addr = addr;
if (!symt || addr != ref_addr) if (!symt || addr != ref_addr)
{ {
/* creating public symbols for all the ELF symbols which haven't been /* creating public symbols for all the ELF symbols which haven't been
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment