Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wirel...
[pandora-kernel.git] / kernel / debug / kdb / kdb_cmds
1 # Initial commands for kdb, alter to suit your needs.
2 # These commands are executed in kdb_init() context, no SMP, no
3 # processes.  Commands that require process data (including stack or
4 # registers) are not reliable this early.  set and bp commands should
5 # be safe.  Global breakpoint commands affect each cpu as it is booted.
6
7 # Standard debugging information for first level support, just type archkdb
8 # or archkdbcpu or archkdbshort at the kdb prompt.
9
10 defcmd dumpcommon "" "Common kdb debugging"
11   set BTAPROMPT 0
12   set LINES 10000
13   -summary
14   -cpu
15   -ps
16   -dmesg 600
17   -bt
18 endefcmd
19
20 defcmd dumpall "" "First line debugging"
21   set BTSYMARG 1
22   set BTARGS 9
23   pid R
24   -dumpcommon
25   -bta
26 endefcmd
27
28 defcmd dumpcpu "" "Same as dumpall but only tasks on cpus"
29   set BTSYMARG 1
30   set BTARGS 9
31   pid R
32   -dumpcommon
33   -btc
34 endefcmd
35