I thought about that, but considering the fact that using windbg for a
GCC compiled OS or GDB for a MSVC compiled OS makes little sense
(although one could use that for mixed kernel+drivers setup), I decided
to go the KDCOM way.
I am open to good arguments for doing that another way though.
Jérôme
Le 12/09/2014 18:42, Hermès BÉLUSCA - MAÏTO a écrit :
Ah and I forgot : Jérôme, now you can use /DEBUGPORT=foo to load
KDfoo.DLL ;) Then your KDfoo.DLL can implement a simple line parser in
order to interpret any other hypothetical parameters present in the
bootloader command line (some other KDxxx use that, for example KD1394
or KDUSB iirc.). One can imagine something like: /DEBUGPORT=GDB:COM1
to say: “Load KDGDB.DLL and use COM1 for it”. Currently it’s not what
you did, maybe it would be great to have that? (and using
/DEBUGPORT=COM1 just for loading KDCOM.DLL, the KD layer for WinDbg ?)
Hermès.
*De :*Ros-dev [mailto:ros-dev-boun...@reactos.org] *De la part de*
Jérôme Gardou
*Envoyé :* vendredi 12 septembre 2014 18:20
*À :* ros-dev@reactos.org
*Objet :* Re: [ros-dev] [ros-diffs] [jgardou] 64121: [KDGDB] -
introduce KDGDB, a KDCOM-like DLL, wrapping the KD protocol and the
GDB remote protocol together. It is not fully functional, but for now
it permits source-level debuggin...
Sure, I will write one as soon as it is functional, but to make it
short, it is as simple as launching gdb and using target remote
<your_com_port>
On ReactOS side, /DEBUGPORT=COMx and you're ready to go.
Enjoy
Jérôme
Le 12/09/2014 17:35, Pierre Schweitzer a écrit :
Awesome, indeed! Any info or tuto about how to use it? About how to plug
GDB to it?
Cheers,
On 09/12/2014 12:57 AM, Timo Kreuzer wrote:
Awesome stuff!
Am 11.09.2014 22:55, schriebjgar...@svn.reactos.org
<mailto:jgar...@svn.reactos.org>:
Author: jgardou
Date: Thu Sep 11 20:55:42 2014
New Revision: 64121
URL:http://svn.reactos.org/svn/reactos?rev=64121&view=rev
Log:
[KDGDB]
- introduce KDGDB, a KDCOM-like DLL, wrapping the KD protocol and
the GDB remote protocol together.
It is not fully functional, but for now it permits source-level
debugging in some modules. More will be added as I feel the need and find the
time to work a bit more on it. (That is, unless an angel comes and resume the
work)
To use it, set GDB and _WINKD_ to TRUE in your CMakeCache.txt.
Using separate debug symbols is also a good idea.
_______________________________________________
Ros-dev mailing list
Ros-dev@reactos.org <mailto:Ros-dev@reactos.org>
http://www.reactos.org/mailman/listinfo/ros-dev
_______________________________________________
Ros-dev mailing list
Ros-dev@reactos.org <mailto:Ros-dev@reactos.org>
http://www.reactos.org/mailman/listinfo/ros-dev
_______________________________________________
Ros-dev mailing list
Ros-dev@reactos.org
http://www.reactos.org/mailman/listinfo/ros-dev
_______________________________________________
Ros-dev mailing list
Ros-dev@reactos.org
http://www.reactos.org/mailman/listinfo/ros-dev