freebsd-nq/sys/arm
John Baldwin 433390a0ca Raise a proper SIGTRAP / TRAP_TRACE signal for a PT_STEP step on arm.
Previously, a step by PT_STEP resulted in no signal being raised to
the debugger so that a step was silently completed with the program
continuing to execute after the step.  Fix by raising a SIGTRAP
signal with TRAP_TRACE as the signal code.

To simplify the error handling cases (if ptrace_clear_single_step()
fails, etc.) move the handling of PTRACE_BREAKPOINT into the
gdb_trapper() function.  If ptrace_clear_single_step() fails,
gdb_trapper() won't claim the fault, and the default case of
SIGILL / ILL_OPC will be used.

Differential Revision:	https://reviews.freebsd.org/D16100
2018-07-25 18:11:37 +00:00
..
allwinner allwinner: a83t: Fix PLL_CPU clocks 2018-07-16 13:38:16 +00:00
altera/socfpga dwmmc: Fully subclass driver 2017-12-30 22:01:17 +00:00
amlogic/aml8726 Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc 2018-04-09 22:06:16 +00:00
annapurna/alpine Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc 2018-04-09 22:06:16 +00:00
arm Raise a proper SIGTRAP / TRAP_TRACE signal for a PT_STEP step on arm. 2018-07-25 18:11:37 +00:00
at91 ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
broadcom/bcm2835 Remove two checks that are always false 2018-07-16 01:07:28 +00:00
cavium/cns11xx ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
cloudabi32 Correct some more places where TO_PTR() should be used. 2017-11-26 14:53:56 +00:00
conf Add option MAC to armv6 and armv7 kernels by default, it needs to be 2018-07-21 18:54:24 +00:00
freescale Add pnp info to the imx_spi driver. 2018-07-09 19:00:39 +00:00
include arm: Implement cpu_est_clockrate for armv[67] 2018-07-19 11:27:11 +00:00
mv follow-up to r336635, update TAILQ to CK_SLIST for ie_handlers 2018-07-23 15:36:55 +00:00
nvidia Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc 2018-04-09 22:06:16 +00:00
qemu Revert r327250 as it broke the build for some armv6 kernel and all armv4/5 2017-12-28 07:31:14 +00:00
ralink ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
rockchip dwmmc: Fully subclass driver 2017-12-30 22:01:17 +00:00
samsung/exynos arm: Fix duplicate ehci DRIVER_MODULE 2018-04-27 21:05:58 +00:00
ti ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
versatile Revert r327250 as it broke the build for some armv6 kernel and all armv4/5 2017-12-28 07:31:14 +00:00
xilinx Enable UART support for Xilinx Ultrascale+ SoCs 2018-07-13 19:54:22 +00:00
xscale Remove kernel support for armeb 2018-07-17 23:23:45 +00:00