1 # Initial commands for kdb, alter to suit your 1 # Initial commands for kdb, alter to suit your needs. 2 # These commands are executed in kdb_init() co 2 # These commands are executed in kdb_init() context, no SMP, no 3 # processes. Commands that require process da 3 # processes. Commands that require process data (including stack or 4 # registers) are not reliable this early. set 4 # registers) are not reliable this early. set and bp commands should 5 # be safe. Global breakpoint commands affect 5 # be safe. Global breakpoint commands affect each cpu as it is booted. 6 6 7 # Standard debugging information for first lev 7 # Standard debugging information for first level support, just type archkdb 8 # or archkdbcpu or archkdbshort at the kdb pro 8 # or archkdbcpu or archkdbshort at the kdb prompt. 9 9 10 defcmd dumpcommon "" "Common kdb debugging" 10 defcmd dumpcommon "" "Common kdb debugging" 11 set BTAPROMPT 0 11 set BTAPROMPT 0 12 set LINES 10000 12 set LINES 10000 13 -summary 13 -summary 14 -cpu 14 -cpu 15 -ps 15 -ps 16 -dmesg 600 16 -dmesg 600 17 -bt 17 -bt 18 endefcmd 18 endefcmd 19 19 20 defcmd dumpall "" "First line debugging" 20 defcmd dumpall "" "First line debugging" 21 pid R 21 pid R 22 -dumpcommon 22 -dumpcommon 23 -bta 23 -bta 24 endefcmd 24 endefcmd 25 25 26 defcmd dumpcpu "" "Same as dumpall but only ta 26 defcmd dumpcpu "" "Same as dumpall but only tasks on cpus" 27 pid R 27 pid R 28 -dumpcommon 28 -dumpcommon 29 -btc 29 -btc 30 endefcmd 30 endefcmd 31 31
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.