[ros-kernel] Re: kernel debugging howto
Eugene Ingerman
geneing at myrealbox.com
Tue Nov 25 10:24:08 CET 2003
You know there is another kernel debugger in the source tree. It's called PICE and it's a softice look-alike. I haven't maintained it for almost a year, so it might need some small changes to run with current code.
If there is interest I can help to revive this debugger.
Eugene
ei
-----Original Message-----
From: Vizzini <vizzini at plasmic.com>
To: ReactOS Kernel List <ros-kernel at reactos.com>
Date: Tue, 25 Nov 2003 10:48:57 -0600
Subject: Re: [ros-kernel] Re: kernel debugging howto
On Tue, 2003-11-25 at 03:15, Martin Fuchs wrote:
> There is also the possibility to specify the option "/DEBUGPORT=GDB" in freeldr.ini. Is this the same as using this GDB stup in bochs ?
> Till now I only got the a message like "COM port not found" when
> activating it.
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.
> But I am more interested in user mode debuging than in kernel mode.
> The main problem for explorer is currently shell32.dll.
> I already tried to run the MSVC remote debug monitor. But it does
> not start - it misses ICMP.DLL. Also to use this one would have to set up
> a working virtual network in VMWare including the emulated ROS machine.
I know nothing about this debugging setup (I use WinDbg on the same box
for UM debugging), but my assumption is that we don't have enough
networking yet for it to work at all.
I'm not sure what the appropriate UM debug setup would be, as it's
something that I rarely do. Anyone else care to comment?
-Vizzini
_______________________________________________
Ros-kernel mailing list
Ros-kernel at reactos.com
http://reactos.geldorp.nl:8080/mailman/listinfo/ros-kernel
More information about the Ros-kernel
mailing list