[POWERPC] fix showing xmon help

In some configuration, xmon help string is larger than xmon_printf
buffer.  We need not to use printf.  This patch adds xmon_puts and
change to use it to show help string.

Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp>
Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Ishizaki Kou
2007-07-18 19:26:40 +10:00
committed by Paul Mackerras
parent 776568d4c9
commit 4d404edce3
3 changed files with 7 additions and 1 deletions

View File

@@ -132,3 +132,8 @@ void xmon_printf(const char *format, ...)
va_end(args);
xmon_write(xmon_outbuf, n);
}
void xmon_puts(const char *str)
{
xmon_write(str, strlen(str));
}