On January 5, 2003 12:20 pm, Eric Pouech wrote:
could you: 1/ uncomment in gdbproxy.c the part of the line gdbctx->trace = /*GDBPXY_TRC_PACKET | GDBPXY_TRC_COMMAND |*/ DBGPXY_TRC_COMMAND_ERROR | GDBPXY_TRC_WIN32_EVENT; 2/ comment in gdbproxy.c the line fprintf(f, "monitor trace=0\n");
Done!
3/ rerun it and send me the output
[dimi@dimi bin]$ winedbg -- --gdb visual-mingw.exe.so using wine_path: wine 081ad078:081ad130: create process 'F:\dev\wine\visual-mingw.cvs\bin\visual-mingw.exe'/0x400eea00 @40562000 (0<0>) 081ad078:081ad130: create thread I @40562000 GNU gdb Red Hat Linux (5.2.1-4) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux". 081ad078:081ad130: loads DLL C:\WINDOWS\SYSTEM\ntdll.dll @40050000 (0<0>) 081ad078:081ad130: loads DLL C:\WINDOWS\SYSTEM\kernel32.dll @40ac0000 (0<0>) 081ad078:081ad130: loads DLL C:\WINDOWS\SYSTEM\advapi32.dll @40a70000 (0<0>) 081ad078:081ad130: loads DLL C:\WINDOWS\SYSTEM\gdi32.dll @40a10000 (0<0>) 081ad078:081ad130: loads DLL C:\WINDOWS\SYSTEM\user32.dll @40900000 (0<0>) 081ad078:081ad130: loads DLL C:\WINDOWS\SYSTEM\comctl32.dll @40850000 (0<0>) 081ad078:081ad130: loads DLL C:\Windows\System\ole32.dll @65f00000 (0<19251>) 081ad078:081ad130: loads DLL C:\Windows\System\MSVCRT.DLL @78000000 (0<0>) 081ad078:081ad130: loads DLL C:\Windows\System\SHLWAPI.DLL @70bd0000 (0<7222>) 081ad078:081ad130: loads DLL C:\WINDOWS\SYSTEM\shell32.dll @40bd0000 (0<0>) 081ad078:081ad130: loads DLL C:\WINDOWS\SYSTEM\winspool.drv @40c30000 (0<0>) 081ad078:081ad130: loads DLL C:\WINDOWS\SYSTEM\comdlg32.dll @40b50000 (0<0>) 081ad078:081ad130: loads DLL C:\WINDOWS\SYSTEM\x11drv.dll @40ca0000 (0<0>) 081ad078:081ad130: exception code=80000003 Packet: Hc-1 Reply : OK Packet: Hc-1 Reply : OK Packet: Hc-1 Reply : OK Packet: Hc-1 Reply : OK Couldn't establish connection to remote target Malformed response to offset query, OK Packet: qC Reply : QC081ad130 wine: ../../../wine.src/programs/winedbg/gdbproxy.c:1856: extract_packets: Assertion `i == gdbctx->out_len' failed. wine: Unhandled exception, starting debugger... Wine-gdb> fixme:console:SetConsoleCtrlHandler (0x4057e55c,1) - no error checking or testing yet
(in the wineconsole same trace as before) Wine-dbg>bt Backtrace: =>0 0x42028cc1 (NTDLL.DLL.toupper+0x67c1) (ebp=407c27d0) 1 0x4202a019 (NTDLL.DLL.atol+0x1f9) (ebp=407c2900) 2 0x42021cd6 (KERNEL32.DLL.VerSetConditionMask+0x1792771) (ebp=407c2940) 3 0x4056f608 (winedbg.exe.EntryPoint+0x74d4 in winedbg.exe.so) (ebp=407c2978) 4 0x4056fe42 (winedbg.exe.EntryPoint+0x7d0e in winedbg.exe.so) (ebp=407c2e40) 5 0x4057e74c (winedbg.exe.EntryPoint+0x16618 in winedbg.exe.so) (ebp=407c2e78) 6 0x4056816c (winedbg.exe.EntryPoint+0x38 in winedbg.exe.so) (ebp=407c2e8c) 7 0x400b0f30 (start_process+0x238 [process.c] in libntdll.dll.so) (ebp=407c2f303) 8 0x400b5049 (call_on_thread_stack+0x79 [sysdeps.c] in libntdll.dll.so) (ebp=407c2ff4) 9 0x400b5184 (SYSDEPS_CallOnStack+0x14 in libntdll.dll.so) (ebp=00000000)
Wine-dbg>
4/ you can also send the content of the file /tmp/winedbg.*
No such file this time.