Kdbg
Native commands:
- t -- Step one instruction
- p -- Step one instruction (over calls)
- finish -- Finish execution of current function
- bp addr -- Set a int3 breakpoint at addr.
- ba <0-3> <r,w,e> <1,2,4> addr -- Set hardware breakpoint using register <0-3> on access <r,w,e> size <1,2,4> bytes at addr
- ba <0-3> -- Unset hardware breakpoint <0-3>
- addr -- Print symbol information of an address (or <module:offset> format)
- regs -- Prints the general purpose registers
- dregs -- Prints the debug registers
- cregs -- Prints the control registers
- tlist [sys] -- Prints the thread list (sys == without system threads)
- plist -- Prints the process list
- x addr len -- Prints the values in memory at addr (len is optional and defaults to 1)
- cont -- Continue execution/exit debugger
- js -- Enter KJS mode (java script)
- There's a short tutorial in the tree about the kernel javascript debugger at lib/kjs/Kernel_Javascript_Support.html