Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a9011580 authored by Russell King's avatar Russell King
Browse files

ARM: extend Code: line by one 16-bit quantity for Thumb instructions



Dump out the following 16-bit instruction to the faulting instruction
in the Code: line.  This allows Thumb-2 instructions to be properly
encoded.

Tested-by: default avatarKevin Hilman <khilman@ti.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 373ce302
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -139,7 +139,7 @@ static void dump_instr(const char *lvl, struct pt_regs *regs)
	fs = get_fs();
	set_fs(KERNEL_DS);

	for (i = -4; i < 1; i++) {
	for (i = -4; i < 1 + !!thumb; i++) {
		unsigned int val, bad;

		if (thumb)