delve/pkg/proc/gdbserial
Alessandro Arzilli 617d934d3e
proc/gdbserial: allow rewind to work after process exit with rr (#2815)
* service/debugger: fix bug internal err with Restart on recorded target

If Restart is called after a Continue and Rewind on a recorded target
that has already terminated it will return an internal error.

* proc/gdbserial: allow rewind to work after process exit with rr

It is sometimes useful to set breakpoints and rewind a terminated
process when using rr, for example if interested in the last execution
of some function.
RR will not allow a backward continue after the process exit packet has
been  sent, however rr will also generate a synthetic SIGKILL right
before process exit.
Treat this packet as a process exit and change some things so both
continuing backwards and setting breakpoints can be done, on recorded
targets, after process exit has been reported.
2021-12-13 11:39:20 -08:00
..
gdbserver_conn.go proc: fix signal handling during stepping (#2803) 2021-12-07 09:21:53 -08:00
gdbserver_unix.go fmt code (#2826) 2021-12-13 10:25:23 -08:00
gdbserver_windows.go proc/native,proc/gdbserial: ignore SIGTTIN, SIGTTOU when fg'ing target 2018-07-31 12:05:54 -07:00
gdbserver.go proc/gdbserial: allow rewind to work after process exit with rr (#2815) 2021-12-13 11:39:20 -08:00
rr_test.go proc: do not assign temporary breakpoint IDs (#2650) 2021-09-29 12:01:37 +02:00
rr.go proc/gdbserial: support call injection with rr backend (#2740) 2021-10-14 11:06:14 -07:00