Logs with the WINECONSOLE set:that shouldn't matter. The issue you got is linked to the wineconsole's fonts configuration. You shouldn't need to use WINECONSOLE env var.
And setting it won't solve your issues.
this is still a wineconsole configuration problem. I still think your wineconsole isn't properly setup.
METHOD1: =========
== First xterm:
[EMAIL PROTECTED] 2]$ export WINECONSOLE=/usr/bin/wineconsole
[EMAIL PROTECTED] 2]$ export WINELOADER=/usr/bin/wine-pthread [EMAIL PROTECTED] 2]$ winedbg -- --gdb --no-start a.exe
Using wine_path: /usr/bin/wine-pthread
target remote localhost:34369
0000002e:0000002f: create process 'F:\tmp\2\a.exe'/0x4063003c @00401000 (0<0>)
0000002e:0000002f: create thread I @00401000
0000002e:0000002f: loads DLL C:\WINDOWS\SYSTEM\ntdll.dll @400a0000 (0<0>)
0000002e:0000002f: loads DLL C:\WINDOWS\SYSTEM\kernel32.dll @40330000 (0<0>)
0000002e:0000002f: loads DLL C:\WINDOWS\SYSTEM\msvcrt.dll @40860000 (0<0>)
Unknown option '--use-event=8'
I'd bet
wineconsole -- --backend=user wcmd
will fail (while it should work)
Note also since you're running with --no-start, you need, before entering the 'target remote' command to:
1/ tell gdb which file it's going to debug (the wine loader) with the 'file' command
2/ use 'sharedlibrary' command
I strongly suggest that you don't use the --no-start command (winedbg will do everything you need).
this one is not needed for gdb (only for winedbg)METHOD 2: ==========
== First xterm:
[EMAIL PROTECTED] 2]$ export WINECONSOLE=/usr/bin/wineconsole
[EMAIL PROTECTED] 2]$ export WINELOADER=/usr/bin/wine-pthread [EMAIL PROTECTED] 2]$ /usr/bin/wine-pthread ./a.exe &
[1] 2573
[EMAIL PROTECTED] 2]$
==Second xterm:
[EMAIL PROTECTED] 2]$ export WINELOADER=/usr/bin/wine-pthread
where did you get wine from. looks like all modules are stripped.Reading symbols from /usr/lib/wine/libwine.so.1... (no debugging symbols found)...done.
See, in this backtrace I get debug info for the wine executable.again, gdb doesn't understand win32 modules, so it won't work with .exe (you need to specify the wine loader as the program to debug under gdb)
If I run gdb ./a.exe instead of gdb /usr/bin/wine-pthread, I do get (wrong) debug info:
A+
