console handling

Dimitrie O. Paun dpaun at rogers.com
Sun Jan 5 09:28:55 CST 2003


On January 5, 2003 06:29 am, Eric Pouech wrote:
> that's somewhere way deep in my todo list...

That's fine, having the (n)curses backend work is more 
important anyway. Maybe I should create a page with
wishes such as these, so we can keep track of them, and
provide inspiration for people that want to contribute...

> as of today you can use the (n)curses backend that does what you need
> (this means, for the debugger, to start it before a crash occurs)

Speaking of which:

[dimi at 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
Couldn't establish connection to remote target
Malformed response to offset query, OK
/tmp/winegdb.jra6cJ:3: Error in sourced command file:
"monitor" command not supported by this target.

wine: ../../../wine.src/programs/winedbg/gdbproxy.c:1856: extract_packets: Assertion `i == gdbctx->out_len' failed.
wine: Unhandled exception, starting debugger...
(gdb) fixme:console:SetConsoleCtrlHandler (0x4057e56c,1) - no error checking or testing yet

(in the winconsole that starts)

Unhandled exception: assertion failed in 32-bit code (0x42028cc1).
In 32-bit mode.
0x42028cc1 (NTDLL.DLL.toupper+0x67c1): movl     %edx,%ebx
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 0x4056fe52 (winedbg.exe.EntryPoint+0x7d1e in winedbg.exe.so) (ebp=407c2e40)
  5 0x4057e75c (winedbg.exe.EntryPoint+0x16628 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=407c2f30)
  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>



-- 
Dimi.




More information about the wine-devel mailing list