Commit 26f4e759 authored by Vasily Gorbik's avatar Vasily Gorbik Committed by Martin Schwidefsky

s390/disassembler: correct disassembly lines alignment

176.718956 Krnl Code: 00000000004d38b0: a54c0018        llihh   %r4,24
176.718956 	   00000000004d38b4: b9080014        agr     %r1,%r4
           ^
Using a tab to align disassembly lines which follow the first line with
"Krnl Code: " doesn't always work, e.g. if there is a prefix (timestamp
or syslog prefix) which is not 8 chars aligned. Go back to alignment
with spaces.

Fixes: b192571d ("s390/disassembler: increase show_code buffer size")
Signed-off-by: default avatarVasily Gorbik <gor@linux.vnet.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 0b088267
...@@ -548,7 +548,7 @@ void show_code(struct pt_regs *regs) ...@@ -548,7 +548,7 @@ void show_code(struct pt_regs *regs)
start += opsize; start += opsize;
pr_cont("%s", buffer); pr_cont("%s", buffer);
ptr = buffer; ptr = buffer;
ptr += sprintf(ptr, "\n\t "); ptr += sprintf(ptr, "\n ");
hops++; hops++;
} }
pr_cont("\n"); pr_cont("\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