http://bugs.winehq.org/show_bug.cgi?id=5558
------- Additional Comments From ploujj@gmail.com 2006-17-07 16:47 ------- I decided to try the 'bt' and 'list' commands in winedbg in addition to what it brings right 'out of the box':
$ ~/apps/wine-0.9.16/wine explorer /desktop=name,1024x768 winedbg "C:\dk2\DKII.exe" WineDbg starting on pid 0xc fixme:dbghelp:elf_load_debug_info_from_map Alpha-support for Dwarf2 information for kernel32<elf> DbgBreakPoint () at /home/plouj/apps/wine-0.9.16/dlls/kernel/../../include/winternl.h:1715 0x7fc2481b DbgBreakPoint+0x4 [/home/plouj/apps/wine-0.9.16/dlls/kernel/../../include/winternl.h:1715] in kernel32: leave 1715 static inline void WINAPI DbgBreakPoint(void) { __asm__ __volatile__("int3"); } Wine-dbg>list 1715 static inline void WINAPI DbgBreakPoint(void) { __asm__ __volatile__("int3"); } 1716 static inline void WINAPI DbgUserBreakPoint(void) { __asm__ __volatile__("int3"); } 1717 #else /* __i386__ && __GNUC__ */ 1718 void WINAPI DbgBreakPoint(void); 1719 void WINAPI DbgUserBreakPoint(void); 1720 #endif /* __i386__ && __GNUC__ */ 1721 NTSTATUS WINAPIV DbgPrint(LPCSTR fmt, ...); 1722 NTSTATUS WINAPIV DbgPrintEx(ULONG iComponentId, ULONG Level, LPCSTR fmt, ...); 1723 1724 NTSTATUS WINAPI LdrAccessResource(HMODULE,const IMAGE_RESOURCE_DATA_ENTRY*,void**,PULONG); 1725 NTSTATUS WINAPI LdrFindResourceDirectory_U(HMODULE,const LDR_RESOURCE_INFO*,ULONG,const IMAGE_RESOURCE_DIRECTORY**); Wine-dbg>bt Backtrace: =>1 0x7fc2481b DbgBreakPoint+0x4 [/home/plouj/apps/wine-0.9.16/dlls/kernel/../../include/winternl.h:1715] in kernel32 (0x7fc2481b) 2 0x7fc2474d start_process+0x117(arg=0x0) [/home/plouj/apps/wine-0.9.16/dlls/kernel/process.c:832] in kernel32 (0x7fc2474d) fixme:dbghelp:elf_load_debug_info_from_map Alpha-support for Dwarf2 information for libwine.so.1 3 0xf7f0c1d3 wine_switch_to_stack+0x17 in libwine.so.1 (0xf7f0c1d3) Wine-dbg>quit