delve/pkg/proc/gdbserial
Alessandro Arzilli 222deeec36 proc,debugger: implement logical breakpoints (#1717)
Modifies FindFileLocation, FindFunctionLocation and LineToPC as well as
service/debugger to support inlining and introduces the concept of
logical breakpoints.

For inlined functions FindFileLocation, FindFunctionLocation and
LineToPC will now return one PC address for each inlining and one PC
for the concrete implementation of the function (if present).

A proc.Breakpoint will continue to represent a physical breakpoint, at
a single memory location.

Breakpoints returned by service/debugger, however, will represent
logical breakpoints and may be associated with multiple memory
locations and, therefore, multiple proc.Breakpoints.

The necessary logic is introduced in service/debugger so that a change
to a logical breakpoint will be mirrored to all its physical
breakpoints and physical breakpoints are aggregated into a single
logical breakpoint when returned.
2019-11-01 12:41:06 -07:00
..
gdbserver_conn.go proc/gdbserial: reset thread updater in step loop (#1665) 2019-08-13 11:14:47 -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 *: add option to re-record recorded targets (#1702) 2019-10-21 11:48:04 -07:00
rr_test.go proc,debugger: implement logical breakpoints (#1717) 2019-11-01 12:41:06 -07:00
rr.go *: add option to re-record recorded targets (#1702) 2019-10-21 11:48:04 -07:00