linux/arch/openrisc
Stafford Horne 28b852b1dc openrisc: fix trap for debugger breakpoint signalling
I have been working on getting native Linux GDB support working for the
OpenRISC port.  The trap signal handler here was wrong in a few ways.
During trap handling address (from the EEAR register) is not set by the
CPU, so it is not correct to use here.  We want to use trap as a
break-point so use TRAP_BRKPT.  Adding 4 to the pc was incorrect and
causing GDB to think the breakpoint was not hit.

Fixing these allows GDB to work now.

Signed-off-by: Stafford Horne <shorne@gmail.com>
2020-11-12 06:32:20 +09:00
..
boot/dts openrisc: add support for LiteX 2020-11-12 06:31:04 +09:00
configs openrisc: add support for LiteX 2020-11-12 06:31:04 +09:00
include openrisc: Fix issue with get_user for 64-bit values 2020-09-12 17:26:00 +09:00
kernel openrisc: fix trap for debugger breakpoint signalling 2020-11-12 06:32:20 +09:00
lib treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
mm arch, drivers: replace for_each_membock() with for_each_mem_range() 2020-10-13 18:38:35 -07:00
Kconfig uaccess: add infrastructure for kernel builds with set_fs() 2020-09-08 22:21:32 -04:00
Kconfig.debug treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile openrisc: remove unneeded code in arch/openrisc/Makefile 2019-01-17 23:42:59 +09:00