I want to write a kernel mode debugger for windows like windbg. Is there any SDK or demo can help?
if you mean you want to use the underlying engine and write a variation then you can explore AttachKernel DebugEng Function check DbgEng-based-Kernel-Debugger-woodmann.com if you want some pointers