mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fixup for dl_iterate_phdr after bug 808121. r=me
This commit is contained in:
parent
3c0fa4c28c
commit
e14946ab94
@ -96,7 +96,7 @@ __wrap_dladdr(void *addr, Dl_info *info)
|
|||||||
int
|
int
|
||||||
__wrap_dl_iterate_phdr(dl_phdr_cb callback, void *data)
|
__wrap_dl_iterate_phdr(dl_phdr_cb callback, void *data)
|
||||||
{
|
{
|
||||||
if (ElfLoader::Singleton.dbg)
|
if (!ElfLoader::Singleton.dbg)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
for (ElfLoader::DebuggerHelper::iterator it = ElfLoader::Singleton.dbg.begin();
|
for (ElfLoader::DebuggerHelper::iterator it = ElfLoader::Singleton.dbg.begin();
|
||||||
|
Loading…
Reference in New Issue
Block a user