Eric Pouech : winedbg: Allow debugging a 32bit target from a 64bit winedbg.

Alexandre Julliard julliard at winehq.org
Thu Sep 2 15:45:31 CDT 2021


Module: wine
Branch: master
Commit: b99d7db835b8ed22d8b685a04c0fc0242f61c657
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=b99d7db835b8ed22d8b685a04c0fc0242f61c657

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Thu Sep  2 11:08:19 2021 +0200

winedbg: Allow debugging a 32bit target from a 64bit winedbg.

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 programs/winedbg/winedbg.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/programs/winedbg/winedbg.c b/programs/winedbg/winedbg.c
index 6b363168cd7..35b7642b733 100644
--- a/programs/winedbg/winedbg.c
+++ b/programs/winedbg/winedbg.c
@@ -657,7 +657,8 @@ int main(int argc, char** argv)
     dbg_init_console();
 
     SymSetOptions((SymGetOptions() & ~(SYMOPT_UNDNAME)) |
-                  SYMOPT_LOAD_LINES | SYMOPT_DEFERRED_LOADS | SYMOPT_AUTO_PUBLICS);
+                  SYMOPT_LOAD_LINES | SYMOPT_DEFERRED_LOADS | SYMOPT_AUTO_PUBLICS |
+                  SYMOPT_INCLUDE_32BIT_MODULES);
 
     if (argc && !strcmp(argv[0], "--auto"))
     {




More information about the wine-cvs mailing list