delve/pkg/dwarf
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
..
dwarfbuilder proc: ignore DW_TAG_inlined_subroutine entries without abstract origin (#1637) 2019-07-26 11:24:35 -07:00
frame pkg/dwarf/frame/parser: Fix parse augmentation (#1679) 2019-09-04 09:02:24 -07:00
godwarf proc: allow calls to optimized functions (#1684) 2019-09-25 10:23:02 -07:00
line proc,debugger: implement logical breakpoints (#1717) 2019-11-01 12:41:06 -07:00
op *: Update import name to github.com/go-delve/delve 2019-01-04 19:43:13 +01:00
reader proc: support setting string values when it requires an allocation (#1548) 2019-06-17 09:51:29 -07:00
util proc/tests: testing apparatus for complex location expressions 2017-11-21 11:51:02 -08:00