14.5. Kernel Built-In MDB dcmdsdcmd $< - replace input with macro dcmd $<< - source macro dcmd $> - log session to a file dcmd $? - print status and registers dcmd $C - print stack backtrace dcmd $G - enable/disable C++ demangling support dcmd $M - list macro aliases dcmd $P - set debugger prompt string dcmd $Q - quit debugger dcmd $V - get/set disassembly mode dcmd $W - reopen target in write mode dcmd $X - print floating-point registers dcmd $Y - print floating- point registers dcmd $b - list traced software events dcmd $c - print stack backtrace dcmd $d - get/set default output radix dcmd $e - print listing of global symbols dcmd $f - print listing of source files dcmd $g - get/set C++ demangling options dcmd $i - print signals that are ignored dcmd $l - print the representative thread's lwp id dcmd $m - print address space mappings dcmd $p - change debugger target context dcmd $q - quit debugger dcmd $r - print general-purpose registers dcmd $s - get/set symbol matching distance dcmd $v - print non-zero variables dcmd $w - get/set output page width dcmd $x - print floating-point registers dcmd $y - print floating-point registers dcmd / - format data from virtual as dcmd :A - attach to process or core file dcmd :R - release the previously attached process dcmd :a - set read access watchpoint dcmd :b - set breakpoint at the specified address dcmd :c - continue target execution dcmd :d - delete traced software events dcmd :e - step target over next instruction dcmd :i - ignore signal (delete all matching events) dcmd :k - forcibly kill and release target dcmd :p - set execute access watchpoint dcmd :r - run a new target process dcmd :s - single-step target to next instruction dcmd :t - stop on delivery of the specified signals dcmd :u - step target out of current function dcmd :w - set write access watchpoint dcmd :z - delete all traced software events dcmd = - format immediate value dcmd > - assign variable dcmd ? - format data from object file dcmd @ - format data from physical as dcmd \ - format data from physical as dcmd array - print each array element's address dcmd attach - attach to process or corefile dcmd bp - set breakpoint at the specified addresses or symbols dcmd cat - concatenate and display files dcmd cont - continue target execution dcmd context - change debugger target context dcmd dcmds - list available debugger commands dcmd delete - delete traced software events dcmd dem - demangle C++ symbol names dcmd dis - disassemble near addr dcmd disasms - list available disassemblers dcmd dismode - get/set disassembly mode dcmd dmods - list loaded debugger modules dcmd dump - dump memory from specified address dcmd echo - echo arguments dcmd enum - print an enumeration dcmd eval - evaluate the specified command dcmd events - list traced software events dcmd evset - set software event specifier attributes dcmd files - print listing of source files dcmd fltbp - stop on machine fault dcmd formats - list format specifiers dcmd fpregs - print floating point registers dcmd grep - print dot if expression is true dcmd head - limit number of elements in pipe dcmd help - list commands/command help dcmd kill - forcibly kill and release target dcmd list - walk list using member as link pointer dcmd load - load debugger module dcmd log - log session to a file dcmd map - print dot after evaluating expression dcmd mappings - print address space mappings dcmd next - step target over next instruction dcmd nm - print symbols dcmd nmadd - add name to private symbol table dcmd nmdel - remove name from private symbol table dcmd objects - print load objects information dcmd offsetof - print the offset of a given struct or union member dcmd print - print the contents of a data structure dcmd quit - quit debugger dcmd regs - print general-purpose registers dcmd release - release the previously attached process dcmd run - run a new target process dcmd set - get/set debugger properties dcmd showrev - print version information dcmd sigbp - stop on delivery of the specified signals dcmd sizeof - print the size of a type dcmd stack - print stack backtrace dcmd stackregs - print stack backtrace and registers dcmd status - print summary of current target dcmd step - single-step target to next instruction dcmd sysbp - stop on entry or exit from system call dcmd term - display current terminal type dcmd typeset - set variable attributes dcmd unload - unload debugger module dcmd unset - unset variables dcmd vars - print listing of variables dcmd version - print debugger version string dcmd vtop - print physical mapping of virtual address dcmd walk - walk data structure dcmd walkers - list available walkers dcmd whence - show source of walk or dcmd dcmd which - show source of walk or dcmd dcmd wp - set a watchpoint at the specified address dcmd xdata - print list of external data buffers krtld dcmd ctfinfo - list module CTF information dcmd modctl - list modctl structures dcmd modhdrs - given modctl, dump module ehdr and shdrs dcmd modinfo - list module information walk modctl - list modctl structures mdb_kvm ctor 0x8076f20 - target constructor dcmd $? - print status and registers dcmd $C - print stack backtrace dcmd $c - print stack backtrace dcmd $r - print general-purpose registers dcmd regs - print general-purpose registers dcmd stack - print stack backtrace dcmd stackregs - print stack backtrace and registers dcmd status - print summary of current target |