Commit 33f765f6 authored by Randy Dunlap's avatar Randy Dunlap Committed by Jason Wessel

kdb: bl: don't use tab character in output

The "bl" (list breakpoints) command prints a '\t' (tab) character
in its output, but on a console (video device), that just prints
some odd graphics character. Instead of printing a tab character,
just align the output with spaces.
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Cc: Daniel Thompson <daniel.thompson@linaro.org>
Cc: Jason Wessel <jason.wessel@windriver.com>
Cc: kgdb-bugreport@lists.sourceforge.net
Signed-off-by: default avatarJason Wessel <jason.wessel@windriver.com>
parent b0f73bc7
...@@ -242,11 +242,11 @@ static void kdb_printbp(kdb_bp_t *bp, int i) ...@@ -242,11 +242,11 @@ static void kdb_printbp(kdb_bp_t *bp, int i)
kdb_symbol_print(bp->bp_addr, NULL, KDB_SP_DEFAULT); kdb_symbol_print(bp->bp_addr, NULL, KDB_SP_DEFAULT);
if (bp->bp_enabled) if (bp->bp_enabled)
kdb_printf("\n is enabled"); kdb_printf("\n is enabled ");
else else
kdb_printf("\n is disabled"); kdb_printf("\n is disabled");
kdb_printf("\taddr at %016lx, hardtype=%d installed=%d\n", kdb_printf(" addr at %016lx, hardtype=%d installed=%d\n",
bp->bp_addr, bp->bp_type, bp->bp_installed); bp->bp_addr, bp->bp_type, bp->bp_installed);
kdb_printf("\n"); kdb_printf("\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment