android: fiq_debugger: fix cut-off help message

fiq_debugger_printf has a 256 byte limit, which was causing the help
lines for "kmsg" and "version" to be dropped.  Split the long string
into two calls.

Change-Id: I55f9f030247cc16d13ae6236736311a5ef0c7aa0
Signed-off-by: Colin Cross <ccross@android.com>
This commit is contained in:
Colin Cross
2015-04-22 14:38:42 -07:00
committed by Greg Hackmann
parent eaa478ab44
commit 98fc0d41be

View File

@@ -429,7 +429,8 @@ static void fiq_debugger_help(struct fiq_debugger_state *state)
" pc PC status\n"
" regs Register dump\n"
" allregs Extended Register dump\n"
" bt Stack trace\n"
" bt Stack trace\n");
fiq_debugger_printf(&state->output,
" reboot [<c>] Reboot with command <c>\n"
" reset [<c>] Hard reset with command <c>\n"
" irqs Interupt status\n"