]> 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)
commit652c7f0c02b79b882d2fe932a9cc49310b22aed6
treed00e6f829bbbdccb316e3b07801e20948b4f0a97
parentc7fd46a82becf4bbdf12ada0ca046bd8769a728f
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