[Wine] Re: WinDbg?

SuperGeek wineforum-user at winehq.org
Sat Mar 1 10:54:59 CST 2008


Yes, my bad. 

Basically, I am trying to perform remote kernel debugging of the windows xp virtual machine. 

This means that there will be a machine called "server" which is the machine that will be debugged at kernel level, and then there is the machine named "client" that is the one that will be used for interactive operations.

In case the two machines are phisical machines, they can be connected using their serial ports. 

In case the server machine is a virtual machine, however, things are much simpler: using VMWare's interface, you can create a fake serial port, that is actually implemented as a pipe.

So, I configured my virtual machine as described in the tutorial linked in the previous post, and created the "fake" serial port that is in reality a pipe. My problems come when trying to set up the client part using wine/wineconsole. I am running OpenSUSE 10.3 + Wine 0.9.56.

In case I use the graphical version of WinDbg (invoked as: windbg -b -k com:pipe,port=\\.\pipe\com_1,resets=0), the program just hangs. This issue is described by several people as in here: http://appdb.winehq.org/objectManager.php?sClass=version&iId=9835.

So I moved to the other solution: since the issue with the GUI version is related to redraw issues, I'll use the console version.

So, I did open command prompt using winconsole ('wineconsole cmd') and tried using kd.exe instead than windbg.exe.

The command I issue is simply:


Code:
kd -b -k com:pipe,port=\\.pipe\com_1,result=0



And the error I get is:


Code:
Y:\Desktop\Debugging Tools for Windows>kd -b -k com:pipe,port=\\.\pipe\com_1,res

Microsoft (R) Windows Debugger Version 6.8.0004.0 X86
Copyright (c) Microsoft Corporation. All rights reserved.

Failed to open \\.\pipe\com_1
Kernel debugger failed initialization, Win32 error 0n2
    "<Unable to get error code text>"
Debuggee initialization failed, Win32 error 0n2
    "<Unable to get error code text>"
Y:\Desktop\Debugging Tools for Windows>









More information about the wine-users mailing list