freebsd-skq/sys
jhb fbdea4b3c3 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
..
amd64 Extend ranges of the critical sections to ensure that context switch 2018-07-24 19:22:52 +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
arm64 Simplify the arm64 implementation of pmap_mincore(). 2018-07-25 15:58:14 +00:00
bsm
cam Stop further SCSI recovery attempts after one has failed. 2018-07-21 21:34:10 +00:00
cddl ZFS: Reserve DMU_BACKUP_FEATURE flags for Native Encryption and ZSTD 2018-07-24 04:38:11 +00:00
compat Regen after r336171. 2018-07-10 14:04:52 +00:00
conf Disable 'C'-compressed ISA extension. 2018-07-25 16:07:35 +00:00
contrib Use the new VNET_DEFINE_STATIC macro when we are defining static VNET 2018-07-24 16:35:52 +00:00
crypto libmd: Always erase context in _Final method, and when doing 2018-07-20 07:01:28 +00:00
ddb Extend show proc with reaper, sigparent, and vmspace information 2018-05-25 13:59:48 +00:00
dev cxgbe(4): Remove useless code that crept in with r336718. 2018-07-25 17:45:43 +00:00
dts Add spi-max-frequency properties to all spigen nodes. This is a required 2018-06-23 22:55:22 +00:00
fs Revert msdosfs MAKEFS #ifdef changes from r319870 2018-07-24 21:10:17 +00:00
gdb amd64: Protect the kernel text, data, and BSS by setting the RW/NX bits 2018-03-06 14:28:37 +00:00
geom OpenCrypto: Convert sessions to opaque handles instead of integers 2018-07-18 00:56:25 +00:00
gnu dts: Update our copy to Linux 4.17 2018-06-14 07:12:10 +00:00
i386 Extend ranges of the critical sections to ensure that context switch 2018-07-24 19:22:52 +00:00
isa Revert r330780, it was improperly tested and results in taking a spin 2018-03-11 20:13:15 +00:00
kern change interrupt event's list of handlers from TAILQ to CK_SLIST 2018-07-23 12:51:23 +00:00
kgssapi OpenCrypto: Convert sessions to opaque handles instead of integers 2018-07-18 00:56:25 +00:00
libkern Sync strlcpy with userland version, again 2018-06-21 17:35:13 +00:00
mips follow-up to r336635, update TAILQ to CK_SLIST for ie_handlers 2018-07-23 15:36:55 +00:00
modules Remove support for QLNX_RCV_IN_TASKQ - i.e., Rx only in TaskQ. 2018-07-25 02:36:55 +00:00
net Since r336611, n is only used for INET in iflib_parse_header(). 2018-07-24 23:40:27 +00:00
net80211 net80211: Fix ifdetach w/o ifattach, small whitespace cleanup 2018-07-10 23:30:19 +00:00
netgraph Use the new VNET_DEFINE_STATIC macro when we are defining static VNET 2018-07-24 16:35:52 +00:00
netinet icmp_quotelen was accidentially changes in r336676, undo this. 2018-07-24 16:45:01 +00:00
netinet6 Use the new VNET_DEFINE_STATIC macro when we are defining static VNET 2018-07-24 16:35:52 +00:00
netipsec Use the new VNET_DEFINE_STATIC macro when we are defining static VNET 2018-07-24 16:35:52 +00:00
netpfil Use the new VNET_DEFINE_STATIC macro when we are defining static VNET 2018-07-24 16:35:52 +00:00
netsmb Eliminate the overhead of gratuitous repeated reinitialization of cap_rights 2018-05-09 18:47:24 +00:00
nfs Switch RIB and RADIX_NODE_HEAD lock from rwlock(9) to rmlock(9). 2018-06-16 08:26:23 +00:00
nfsclient style: Remove remaining deprecated MALLOC/FREE macros 2018-01-25 22:25:13 +00:00
nfsserver
nlm Use syscall_helper_register() to register syscalls and initialize though 2018-02-10 01:09:22 +00:00
ofed Use __FBSDID() for RCS tags in ibcore. 2018-07-17 09:47:14 +00:00
opencrypto OpenCrypto: Convert sessions to opaque handles instead of integers 2018-07-18 00:56:25 +00:00
powerpc Fix floating point exception definitions for powerpcspe 2018-07-24 22:04:56 +00:00
riscv Remove unused string. 2018-07-25 15:44:49 +00:00
rpc Set SO_SNDTIMEO in the client side krpc when CLSET_TIMEOUT is done. 2018-07-20 12:03:16 +00:00
security fix incorrect operator in the AUDITPIPE_SET_QLIMIT bounds check 2018-07-23 16:56:49 +00:00
sparc64 follow-up to r336635, update TAILQ to CK_SLIST for ie_handlers 2018-07-23 15:36:55 +00:00
sys sockopt.h: remove stale comment 2018-07-25 00:18:21 +00:00
teken teken: Fix sequences header which was crossing the 80-col boundary 2018-05-29 08:41:44 +00:00
tests epoch_test: fix compile 2018-07-15 00:31:17 +00:00
tools Add dtb overlays support 2018-03-24 21:30:24 +00:00
ufs Add needed locking for um_flags added in -r335808. 2018-07-17 04:43:58 +00:00
vm Use __riscv to determine building for RISC-V 2018-07-23 19:49:54 +00:00
x86 xen: implement early init helper for PVHv2 2018-07-19 08:44:52 +00:00
xdr
xen xen: add missing file from r336474 2018-07-19 10:14:52 +00:00
Makefile