diff options
| author | Randy Dunlap <rdunlap@infradead.org> | 2017-12-08 13:19:28 -0500 |
|---|---|---|
| committer | Jason Wessel <jason.wessel@windriver.com> | 2018-01-25 09:41:22 -0500 |
| commit | 33f765f698895527acd69faf5d54ab07f02683ff (patch) | |
| tree | d2cb7068ed0f02e673be56fd68efcf51dc96bbc6 /kernel/debug | |
| parent | b0f73bc7f1793997eb48bd14e3db51c3c95e2098 (diff) | |
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: Randy 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: Jason Wessel <jason.wessel@windriver.com>
Diffstat (limited to 'kernel/debug')
| -rw-r--r-- | kernel/debug/kdb/kdb_bp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/debug/kdb/kdb_bp.c b/kernel/debug/kdb/kdb_bp.c index 90ff129c88a2..62c301ad0773 100644 --- a/kernel/debug/kdb/kdb_bp.c +++ b/kernel/debug/kdb/kdb_bp.c | |||
| @@ -242,11 +242,11 @@ static void kdb_printbp(kdb_bp_t *bp, int i) | |||
| 242 | kdb_symbol_print(bp->bp_addr, NULL, KDB_SP_DEFAULT); | 242 | kdb_symbol_print(bp->bp_addr, NULL, KDB_SP_DEFAULT); |
| 243 | 243 | ||
| 244 | if (bp->bp_enabled) | 244 | if (bp->bp_enabled) |
| 245 | kdb_printf("\n is enabled"); | 245 | kdb_printf("\n is enabled "); |
| 246 | else | 246 | else |
| 247 | kdb_printf("\n is disabled"); | 247 | kdb_printf("\n is disabled"); |
| 248 | 248 | ||
| 249 | kdb_printf("\taddr at %016lx, hardtype=%d installed=%d\n", | 249 | kdb_printf(" addr at %016lx, hardtype=%d installed=%d\n", |
| 250 | bp->bp_addr, bp->bp_type, bp->bp_installed); | 250 | bp->bp_addr, bp->bp_type, bp->bp_installed); |
| 251 | 251 | ||
| 252 | kdb_printf("\n"); | 252 | kdb_printf("\n"); |
