Description
The task is to create a KDCOM.DLL that serves as a replacement for the usual KDCOM but instead of communicating with WinDbg/Kd, it will have a simple Kd like interface available through a serial terminal, so that unix users can use it like kdbg was used. The goal is to get rid of kdbg completely (which is broken and lacks a lot of features) and use the established kd64 part from ntoskrnl to do real and reliable kernel debugging, even on GCC builds and even without pdbs available.
- kdcom.c from the current kdcom might be reused
- To access certain kernel variables, a call to KdSystemDebugControl with a custom code will return a structure that contains pointers to all releveant kernel structures.
- to resolve symbols we still need to try to read the dwarf debugging info, which might not be available for user mode code. But that is no difference to kdbg.
- See also kd++ branch
Attachments
Issue Links
- links to