Search code examples
emacswindbgkernel-mode

Emacs WinDbg kernel mode


I'm using WinDbg for kernel mode debugging and I'd like to use the emacs interface to WinDbg. See http://www.emacswiki.org/emacs/download/cdb-gud.el. But cdb-gud.el only shows how to use Emacs with WinDbg for debugging user programs.

Does anybody know how to use Emacs with WinDbg for kernel mode debugging?


Solution

  • Use kd -k <connection string> instead of cdb <your program> e.g. M-x cdb kd -k com:port=com1