delve/pkg/proc/gdbserial
Alessandro Arzilli a97da22762
proc: do not assign temporary breakpoint IDs (#2650)
Internal breakpoints do not need IDs and assigning them from a counter
separate from the user ID counter can be a cause of confusion.
If a user breakpoint is overlayed on top of a pre-existing internal
breakpoint the temporary ID will be surfaced as if it was a user ID,
possibly conflicting with another user ID.
If a temporary breakpoint is overlayed on top of a pre-existing user
breakpoint and the user breakpoint is first deleted and then
re-created, the user ID will be resurrected along with the breakpoint,
instead of allocating a fresh one.

This change removes internal breakpoint IDs entirely, only user
breakpoints receive an ID.
2021-09-29 12:01:37 +02:00
..
gdbserver_conn.go gdbserial,regnum: support ZMM registers, disable 'g' on debugserver (#2498) 2021-05-26 08:21:03 -07:00
gdbserver_unix.go *: FreeBSD initial support (#1480) 2019-07-12 18:28:04 -07: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 pkg/proc: Parse Goroutine ID in eBPF tracer (#2654) 2021-08-24 14:53:27 +02:00
rr_test.go proc: do not assign temporary breakpoint IDs (#2650) 2021-09-29 12:01:37 +02:00
rr.go service/dap: Support for replay and core modes (#2367) 2021-07-21 07:38:04 -07:00