delve/pkg/proc/native
Alessandro Arzilli b8a9ae26f6
proc: fix signal handling during stepping (#2803)
Fix signal handling during thread single stepping so that signals that
are generated by executing the current instruction are immediately
propagated to the inferior, while signals other signals sent to the
thread are delayed until the full resume happens.

Fixes a bug where a breakpoint set on an instruction that causes a
SIGSEGV would make Delve hang and a bug where signals received during
single step would make it look like an instruction is executed twice.

Fixes #2801
Fixes #2792
2021-12-07 09:21:53 -08:00
..
dump_linux_amd64.go terminal,service,proc/*: adds dump command (gcore equivalent) (#2173) 2021-01-29 13:39:33 -08:00
dump_linux_other.go terminal,service,proc/*: adds dump command (gcore equivalent) (#2173) 2021-01-29 13:39:33 -08:00
dump_linux.go proc/*: minor miscellaneous code cleanups (#2790) 2021-11-26 08:06:23 -08:00
dump_other.go terminal,service,proc/*: adds dump command (gcore equivalent) (#2173) 2021-01-29 13:39:33 -08:00
dump_windows_amd64.go terminal,service,proc/*: adds dump command (gcore equivalent) (#2173) 2021-01-29 13:39:33 -08:00
exc_user_darwin.c proc/native,Makefile: allow compiling on macOS without native backend 2018-10-02 10:46:09 -07:00
exc.h proc: refactoring: split backends to separate packages 2017-04-21 14:00:04 -07:00
exec_darwin.c proc/native,Makefile: allow compiling on macOS without native backend 2018-10-02 10:46:09 -07:00
exec_darwin.h proc/native,Makefile: allow compiling on macOS without native backend 2018-10-02 10:46:09 -07:00
hwbreak_amd64.go proc/native: support watchpoints on Windows (#2651) 2021-09-24 15:17:46 -07:00
hwbreak_other.go proc/native: support watchpoints on linux/arm64 (#2667) 2021-10-18 13:11:59 -07:00
mach_exc_user_darwin.c proc/native,Makefile: allow compiling on macOS without native backend 2018-10-02 10:46:09 -07:00
mach_exc.h proc: refactoring: split backends to separate packages 2017-04-21 14:00:04 -07:00
nonative_darwin.go proc/*: minor miscellaneous code cleanups (#2790) 2021-11-26 08:06:23 -08:00
proc_darwin.c proc/native,Makefile: allow compiling on macOS without native backend 2018-10-02 10:46:09 -07:00
proc_darwin.go proc/*: minor miscellaneous code cleanups (#2790) 2021-11-26 08:06:23 -08:00
proc_darwin.h proc/native,Makefile: allow compiling on macOS without native backend 2018-10-02 10:46:09 -07:00
proc_ebpf_linux.go *: Replace libbpfgo with cilium/ebpf (#2771) 2021-11-03 16:58:04 +01:00
proc_freebsd.c fix cast to smaller integer type 'int' from 'void *' (#2511) 2021-05-26 10:23:27 -07:00
proc_freebsd.go proc/*: minor miscellaneous code cleanups (#2790) 2021-11-26 08:06:23 -08:00
proc_freebsd.h fix cast to smaller integer type 'int' from 'void *' (#2511) 2021-05-26 10:23:27 -07:00
proc_linux.go proc/*: minor miscellaneous code cleanups (#2790) 2021-11-26 08:06:23 -08:00
proc_no_ebpf_linux.go *: Replace libbpfgo with cilium/ebpf (#2771) 2021-11-03 16:58:04 +01:00
proc_unix.go *: Add --tty flag for debug / exec 2020-04-10 09:53:13 -07:00
proc_windows.go proc/*: minor miscellaneous code cleanups (#2790) 2021-11-26 08:06:23 -08:00
proc.go proc/*: minor miscellaneous code cleanups (#2790) 2021-11-26 08:06:23 -08:00
ptrace_darwin.go *: un-export unnecessarily public symbols 2020-03-31 14:47:29 -07:00
ptrace_freebsd_amd64.c *: FreeBSD initial support (#1480) 2019-07-12 18:28:04 -07:00
ptrace_freebsd_amd64.h *: FreeBSD initial support (#1480) 2019-07-12 18:28:04 -07:00
ptrace_freebsd.go proc: use CPUID to determine maximum size of XSAVE area (#2256) 2020-12-14 09:39:01 -08:00
ptrace_linux_64bit.go *: un-export unnecessarily public symbols 2020-03-31 14:47:29 -07:00
ptrace_linux_386.go terminal,service,proc/*: adds dump command (gcore equivalent) (#2173) 2021-01-29 13:39:33 -08:00
ptrace_linux_amd64.go terminal,service,proc/*: adds dump command (gcore equivalent) (#2173) 2021-01-29 13:39:33 -08:00
ptrace_linux.go proc: fix signal handling during stepping (#2803) 2021-12-07 09:21:53 -08:00
register_linux_386.go proc/*: implement proc.(*compositeMemory).WriteMemory (#2271) 2021-03-04 10:28:28 -08:00
registers_darwin_amd64.go proc/*: implement proc.(*compositeMemory).WriteMemory (#2271) 2021-03-04 10:28:28 -08:00
registers_freebsd_amd64.go proc/*: implement proc.(*compositeMemory).WriteMemory (#2271) 2021-03-04 10:28:28 -08:00
registers_linux_amd64.go proc/*: implement proc.(*compositeMemory).WriteMemory (#2271) 2021-03-04 10:28:28 -08:00
registers_linux_arm64.go proc/*: implement proc.(*compositeMemory).WriteMemory (#2271) 2021-03-04 10:28:28 -08:00
registers_windows_amd64.go proc/*: implement proc.(*compositeMemory).WriteMemory (#2271) 2021-03-04 10:28:28 -08:00
support_sentinel.go proc/gdbserial: Added support for darwin/arm64 using gdbserver (#2285) 2021-01-04 08:52:04 -08:00
syscall_windows_amd64.go proc: move windows register handling code to winutil package 2018-11-21 12:17:16 -08:00
syscall_windows.go terminal,service,proc/*: adds dump command (gcore equivalent) (#2173) 2021-01-29 13:39:33 -08:00
threads_darwin.c proc/native,Makefile: allow compiling on macOS without native backend 2018-10-02 10:46:09 -07:00
threads_darwin.go proc/native: support watchpoints on Windows (#2651) 2021-09-24 15:17:46 -07:00
threads_darwin.h proc/native,Makefile: allow compiling on macOS without native backend 2018-10-02 10:46:09 -07:00
threads_freebsd.go proc/native: support watchpoints on Windows (#2651) 2021-09-24 15:17:46 -07:00
threads_linux_386.go proc/native: support watchpoints on Windows (#2651) 2021-09-24 15:17:46 -07:00
threads_linux_amd64.go *: clean up staticcheck problems (#2723) 2021-09-28 12:07:42 -07:00
threads_linux_arm64.go proc/native: support watchpoints on linux/arm64 (#2667) 2021-10-18 13:11:59 -07:00
threads_linux.go proc: fix signal handling during stepping (#2803) 2021-12-07 09:21:53 -08:00
threads_windows.go proc/native: disable watchpoints on Windows (#2769) 2021-10-30 06:47:38 -07:00
threads.go proc: move breakpoint condition evaluation out of backends (#2628) 2021-08-09 10:16:24 -07:00
zsyscall_windows.go terminal,service,proc/*: adds dump command (gcore equivalent) (#2173) 2021-01-29 13:39:33 -08:00