linux/kernel/debug
Jason Wessel 074604af21 kdb_main: fix help print
The help command was chopping all the usage instructions such that
they were not readable.

Example:

bta             [D|R|S|T|C|Z|E|U|I| Backtrace all processes matching state flag
per_cpu         <sym> [<bytes>] [<c Display per_cpu variables

Where as it should look like:

bta             [D|R|S|T|C|Z|E|U|I|M|A]
                                    Backtrace all processes matching state flag
per_cpu         <sym> [<bytes>] [<cpu>]
                                    Display per_cpu variables

All that is needed is to check the how long the cmd_usage is and jump
to the next line when appropriate.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
2013-03-02 08:52:18 -06:00
..
kdb kdb_main: fix help print 2013-03-02 08:52:18 -06:00
debug_core.c KGDB/KDB fixes and cleanups 2012-10-13 11:16:58 +09:00
debug_core.h kdb: Setup basic kdb state before invoking commands via kgdb 2013-03-02 08:52:17 -06:00
gdbstub.c kdb: Setup basic kdb state before invoking commands via kgdb 2013-03-02 08:52:17 -06:00
Makefile kdb: core for kgdb back end (1 of 2) 2010-05-20 21:04:20 -05:00