[PATCH 2/2] winedbg: Replace magic number

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Mon Jun 3 23:21:49 CDT 2019


Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
 programs/winedbg/tgt_module.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/programs/winedbg/tgt_module.c b/programs/winedbg/tgt_module.c
index 58c4282689..1e21e6b4b7 100644
--- a/programs/winedbg/tgt_module.c
+++ b/programs/winedbg/tgt_module.c
@@ -51,7 +51,7 @@ enum dbg_start tgt_module_load(const char* name, BOOL keep)
     unsigned len;
 
     SymSetOptions((opts & ~(SYMOPT_UNDNAME|SYMOPT_DEFERRED_LOADS)) |
-                  SYMOPT_LOAD_LINES | SYMOPT_AUTO_PUBLICS | 0x40000000);
+                  SYMOPT_LOAD_LINES | SYMOPT_AUTO_PUBLICS | SYMOPT_DISABLE_SRVSTAR_ON_STARTUP);
     if (!dbg_init(hDummy, NULL, FALSE))
         return start_error_init;
     len = MultiByteToWideChar(CP_ACP, 0, name, -1, NULL, 0);
-- 
2.17.1



More information about the wine-devel mailing list