]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbaa6f4fd4b646a9fd8ded3f7c18e8b2e8400d36a
treed00e6f829bbbdccb316e3b07801e20948b4f0a97
parent9e54ce55e536c92bf0b90d94c822ea7616c96ed3
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