--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: winedbg --gdb does not work with 32-bit WINEPREFIX
- From: William Blough <bblough@debian.org>
- Date: Sat, 26 Sep 2020 16:57:13 -0400
- Message-id: <160115383308.13985.9660888575231975645.reportbug@prometheus>
Package: wine
Version: 5.0-4
Severity: normal
Hi,
Trying to use the --gdb flag with winedbg does not work with 32-bit
WINEPREFIXes. Instead of spawning gdb, it just exits:
user@host:~$ WINEPREFIX=~/.wine32 winedbg --gdb notepad.exe
002a:002b: create process 'C:\windows\system32\notepad.exe' /0x1106b0 @0x7fa07e50 (0<0>)
002a:002b: create thread I @0x7fa07e50
user@host:~$
Running the same command with a 64-bit prefix works as expected:
user@host:~$ winedbg --gdb notepad.exe
002b:002c: create process 'C:\windows\system32\notepad.exe'/0x10980 @0x7f8993d81b60 (0<0>)
002b:002c: create thread I @0x7f8993d81b60
GNU gdb (Debian 8.2.1-2+b3) 8.2.1
<snip>
002b:002c: loads DLL C:\windows\system32\uxtheme.dll @0x7f8990940000 (0<0>)
warning: remote target does not support file transfer, attempting to access files from local filesystem.
0x000000007bc961e5 in DbgBreakPoint () from /usr/lib/wine/../x86_64-linux-gnu/wine/ntdll.dll.so
Wine-gdb>
I was able to reproduce the issue on a VM running only bullseye i386 (no
foreign architectures), so it doesn't appear to be a multi-arch related issue.
Also, the upstream packages work as expected on bullseye i386. I
haven't tested them on buster.
Tested, not working:
-------------------
Buster, amd64, wine 4.0-2 from buster repo, 32-bit WINEPREFIX
Bullseye, i386, wine 5.0-4 from bullseye repo, 32-bit WINEPREFIX
Tested, working as expected:
---------------------------
Buster, amd64, wine 4.0-2 from buster repo, 64-bit WINEPREFIX
Bullseye, i386, winehq-stable 4.0.2~bullseye from winehq repo, 32-bit WINEPREFIX
Bullseye, i386, winehq-stable 5.0.2~bullseye from winehq repo, 32-bit WINEPREFIX
Bullseye, i386, winehq-devel 5.18~bullseye from winehq repo, 32-bit WINEPREFIX
Best regards,
Bill
--- End Message ---