dbghelp: Don't check version of Mach-O dyld_all_image_infos structure.

The structure has changed repeatedly, but always in a backward compatible way.
The version check was only hampering us.
oldstable
Ken Thomases 2009-05-01 23:01:24 -05:00 committed by Alexandre Julliard
parent 131a046302
commit 6903238948
1 changed files with 0 additions and 1 deletions

View File

@ -1170,7 +1170,6 @@ static BOOL macho_enum_modules_internal(const struct process* pcs,
if (!pcs->dbg_hdr_addr ||
!ReadProcessMemory(pcs->handle, (void*)pcs->dbg_hdr_addr,
&image_infos, sizeof(image_infos), NULL) ||
(image_infos.version != 1 && image_infos.version != 2) ||
!image_infos.infoArray)
goto done;
TRACE("Process has %u image infos at %p\n", image_infos.infoArrayCount, image_infos.infoArray);