powerpc: Fix kgdb on little endian ppc64le
authorBalbir Singh <bsingharora@gmail.com>
Mon, 1 Feb 2016 06:03:25 +0000 (17:03 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 17 Feb 2016 13:03:26 +0000 (00:03 +1100)
commit94e3d923592fcfe5585c18a0af9b196de0a13072
treed00e6f829bbbdccb316e3b07801e20948b4f0a97
parente4f226b1580b36550727c324b404207f8d2f3b71
powerpc: Fix kgdb on little endian ppc64le

I spent some time trying to use kgdb and debugged my inability to
resume from kgdb_handle_breakpoint(). NIP is not incremented
and that leads to a loop in the debugger.

I've tested this lightly on a virtual instance with KDB enabled.
After the patch, I am able to get the "go" command to work as
expected.

Signed-off-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/kgdb.c