mirror of
https://gitlab.winehq.org/wine/wine.git
synced 2024-11-19 17:06:04 -07:00
dbghelp: Only WARN on stripped PE images.
When stripping, binutils' objcopy also sets the flag, yet without stripping into a .DBG file. Signed-off-by: Eric Pouech <epouech@codeweavers.com>
This commit is contained in:
parent
40b314cf34
commit
9212706ede
Notes:
Alexandre Julliard
2024-11-19 23:21:50 +01:00
Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/wine/merge_requests/6818
1 changed files with 2 additions and 2 deletions
|
@ -656,8 +656,8 @@ static BOOL pe_load_msc_debug_info(const struct process* pcs, struct module* mod
|
||||||
if (nDbg != 1 || dbg->Type != IMAGE_DEBUG_TYPE_MISC ||
|
if (nDbg != 1 || dbg->Type != IMAGE_DEBUG_TYPE_MISC ||
|
||||||
misc->DataType != IMAGE_DEBUG_MISC_EXENAME)
|
misc->DataType != IMAGE_DEBUG_MISC_EXENAME)
|
||||||
{
|
{
|
||||||
ERR("-Debug info stripped, but no .DBG file in module %s\n",
|
WARN("-Debug info stripped, but no .DBG file in module %s\n",
|
||||||
debugstr_w(module->modulename));
|
debugstr_w(module->modulename));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue