delve/service/api
Alessandro Arzilli d2bca7a307
pkg/proc/native/linux: fix target crashes induced by RequestManualStop (#2484)
A RequestManualStop received while the target program is stopped can
induce a crash when the target is restarted.
This is caused by the phantom breakpoint detection that was introduced
in PR #2179 / commit e69d536.
Instead of always interpreting an unexplained SIGTRAP as a phantom
breakpoint memorize all possible unreported breakpoint hits and only
act on it when the thread hasn't moved from one.

Also clarifies the behavior of the halt command when it is received
while the target is stopped or in the process of stopping.
2021-05-17 09:56:42 -07:00
..
conversions.go terminal,service,proc/*: adds dump command (gcore equivalent) (#2173) 2021-01-29 13:39:33 -08:00
prettyprint_test.go terminal: add -size argument to examinemem command 2020-09-11 08:21:11 +02:00
prettyprint.go terminal: add optional format argument to print, display (#2398) 2021-03-25 09:45:30 -07:00
types.go pkg/proc/native/linux: fix target crashes induced by RequestManualStop (#2484) 2021-05-17 09:56:42 -07:00