From e374bcffee7dcebec21728839bfffca7c95bc9b7 Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Mon, 5 Mar 2007 21:45:21 +0100 Subject: [PATCH] winedbg: We no longer need to force for ELF modules in minidumps as we do it automatically now. --- programs/winedbg/tgt_minidump.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/programs/winedbg/tgt_minidump.c b/programs/winedbg/tgt_minidump.c index 5df7c99d61a..9e611305f61 100644 --- a/programs/winedbg/tgt_minidump.c +++ b/programs/winedbg/tgt_minidump.c @@ -44,7 +44,6 @@ void minidump_write(const char* file, const EXCEPTION_RECORD* rec) HANDLE hFile; MINIDUMP_EXCEPTION_INFORMATION mei; EXCEPTION_POINTERS ep; - DWORD wine_opt; hFile = CreateFile(file, GENERIC_READ|GENERIC_WRITE, 0, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); @@ -59,14 +58,9 @@ void minidump_write(const char* file, const EXCEPTION_RECORD* rec) ep.ContextRecord = &dbg_context; mei.ClientPointers = FALSE; } - /* this is a wine specific options to return also ELF modules in the - * dumping - */ - SymSetOptions((wine_opt = SymGetOptions()) | 0x40000000); MiniDumpWriteDump(dbg_curr_process->handle, dbg_curr_process->pid, hFile, MiniDumpNormal/*|MiniDumpWithDataSegs*/, rec ? &mei : NULL, NULL, NULL); - SymSetOptions(wine_opt); CloseHandle(hFile); } -- 2.11.4.GIT