[ros-kernel] Re: kernel debugging howto
martin-fuchs at gmx.net
Sun Nov 30 17:48:05 CET 2003
On 25.11.2003 17:48:57 Vizzini wrote:
> No, this is a different mechanism. /DEBUGPORT=GDB is designed for
> serial port debugging, which is what I cannot make work any longer. Of
> course, this would be a much better solution (VMWare-compatible, for one
> thing), so I'd prefer it. Perhaps I'll investigate that another day.
> In my testing, I used /DEBUGPORT=BOCHS, which I forgot to mention. You
> could also use /DEBUGPORT=SCREEN. The bottom line here is that the
> kernel doesn't know if it's executing on a bochs gdb stub (it can't
> really tell, it's a function of the "hardware", afaik), so it doesn't
> realy matter what you set /DEBUGPORT to.
I am now able to use the GDB stub in ReactOS with VMWare like Gge.
I am using cygwin gdb of version "GNU gdb 2003-03-03-cvs (cygwin-special)".
This is the setup I use to connect the serial ports together in VMWare:
COM1 of ROS[VM1] <-> COM1 of NT[VM2]
COM2 of ROS[VM1] <-> COM2 of NT[VM2]
COM1 can be used with freeloader's fdebug.exe to display the debug messages
More information about the Ros-kernel