Kernel Debugging: Difference between revisions

[unchecked revision][unchecked revision]
Content deleted Content added
Line 65:
 
==== Using mini debugger ====
Because integrating gdb is quite a task, you could use the [https://gitlab.com/bztsrc/minidbg mini debugger] library instead, which is small and simple, written in ANSI C (and a little Assembly). That is a minimal interactive debugger (dumps registers and memory, disassembles instructions) which works on serial terminals (such as VT100, VT220 or emulators like PuTTY and minicom). Available for [[AArch64]] and [[x86_64x86-64]] kernels. You can use that library as a skeleton to implement your own, fully featured kernel debugger if you want.
 
== Using Debuggers with VMs ==