dbghelp: Fetch version info only for PE modules in minidumps.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
84907a9eb1
commit
04ddabfdff
dlls/dbghelp
|
@ -540,7 +540,8 @@ static unsigned dump_modules(struct dump_context* dc, BOOL dump_elf)
|
||||||
mdModule.ModuleNameRva = dc->rva;
|
mdModule.ModuleNameRva = dc->rva;
|
||||||
ms->Length -= sizeof(WCHAR);
|
ms->Length -= sizeof(WCHAR);
|
||||||
append(dc, ms, sizeof(ULONG) + ms->Length + sizeof(WCHAR));
|
append(dc, ms, sizeof(ULONG) + ms->Length + sizeof(WCHAR));
|
||||||
fetch_module_versioninfo(ms->Buffer, &mdModule.VersionInfo);
|
if (!dump_elf) fetch_module_versioninfo(ms->Buffer, &mdModule.VersionInfo);
|
||||||
|
else memset(&mdModule.VersionInfo, 0, sizeof(mdModule.VersionInfo));
|
||||||
mdModule.CvRecord.DataSize = 0; /* FIXME */
|
mdModule.CvRecord.DataSize = 0; /* FIXME */
|
||||||
mdModule.CvRecord.Rva = 0; /* FIXME */
|
mdModule.CvRecord.Rva = 0; /* FIXME */
|
||||||
mdModule.MiscRecord.DataSize = 0; /* FIXME */
|
mdModule.MiscRecord.DataSize = 0; /* FIXME */
|
||||||
|
|
Loading…
Reference in New Issue