mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 10:59:00 +00:00
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
|
@ -540,7 +540,8 @@ static unsigned dump_modules(struct dump_context* dc, BOOL dump_elf)
|
|||
mdModule.ModuleNameRva = dc->rva;
|
||||
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.Rva = 0; /* FIXME */
|
||||
mdModule.MiscRecord.DataSize = 0; /* FIXME */
|
||||
|
|
Loading…
Reference in a new issue