|File Search||Catalog||Content Search|
Additional commands may be easily added to format and display essential system data structures given an identifier or address of the data structure.
Current command set allows complete control of kernel operations including single-stepping a processor, stopping upon execution of a specific instruction, stopping upon access (or modification) of a specific virtual memory location, stopping upon access to a register in the input-output address space, stack tracebacks for the current active task as well as for all other tasks (by process id), instruction disassembly, et. al.
The BFD headers from the binutils-dev package are required to compile a kdb-enabled kernel.
Version 6.23 of the kernel-package package has a bug preventing correct application of this patch.
This patch will be applied if you set the enviroment variable PATCH_THE_KERNEL to YES before running make-kpkg. If you want to do the patching manually, you can find the diff-file in /usr/src/kernel-patches - then use the -p5 patch option when running from the kernel's top-level dir. There is a hard-coded limit of 7500 symbols in the kdb symbol table (see scripts/genkdbscripts.awk in the patc more»
BD(1) BD(1) NAME bc, bd, be, bl, bp, bpa - breakpoint commands SYNOPSIS bp address-expression [DATAR|DATAW|IO [length]] bpa address-expression [DATAR|DATAW|IO [length]] bd breakpoint-number bc breakpoint-number be breakpoint-number bl DESCRIPTION The bp command is used to more»
BT(1) BT(1) NAME bt - Stack Traceback command SYNOPSIS bt [ <stack-frame-address> ] btp <pid> DESCRIPTION The bt command is used to print a stack traceback. It uses the current registers (see rd command) to determine the starting context and attempts to provide a complete stack more»
ENV(1) ENV(1) NAME env, set - Envir more»
LL(1) LL(1) NAME ll - Linked List more»
MD(1) MD(1) NAME md, mds, mm- Mem more»
RD(1) RD(1) NAME rd, rm- Register more»
SS(1) SS(1) NAME ss, ssb - Single more»