From 9212706ede23bed27d7205ea2eeee6504395168f Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Sat, 19 Oct 2024 17:02:55 +0200 Subject: [PATCH] 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 --- dlls/dbghelp/pe_module.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/dbghelp/pe_module.c b/dlls/dbghelp/pe_module.c index 8071b8987e3..74f5b08e613 100644 --- a/dlls/dbghelp/pe_module.c +++ b/dlls/dbghelp/pe_module.c @@ -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 || misc->DataType != IMAGE_DEBUG_MISC_EXENAME) { - ERR("-Debug info stripped, but no .DBG file in module %s\n", - debugstr_w(module->modulename)); + WARN("-Debug info stripped, but no .DBG file in module %s\n", + debugstr_w(module->modulename)); } else {