delve/pkg
Jay Mundrawala c7cde8b151 Keep searching for file:line until found
Go seems to be generating multiple compilation units that have
the same file. I think this happens for functions that get inlined.
Without this patch, those inlined functions break the ability to set
a breakpoint at other lines in the file. I was able to load the same
binary in gdb and set a breakpoints throughout the file without issue.

```
➜ objdump --dwarf=decodedline automate-gateway | grep handler/users.go
.../handler/users.go:[++]
s/.../handler/users.go           20            0xb6dd88
.../handler/users.go:[++]
s/.../handler/users.go           20            0xb6e50f
.../handler/users.go:[++]
s/automate-gateway/handler/users.go           32            0xb66640
```

Inlined functions are still a little weird. setting a breakpoint on
a function that gets inlined picks the first occurence. That being
said, I think delve should still do something reasonable for the rest
of the lines in the file.
2018-05-15 15:41:23 -07:00
..
config config: Return handle for created default config (#1130) 2018-02-20 20:24:05 +01:00
dwarf proc: support inlining 2018-03-26 14:30:38 -04:00
goversion all: Spelling 2018-03-20 11:05:35 +01:00
logflags cmd/dlv: Revert 4e177b, use new flag name for debug logging options 2018-04-26 09:45:52 -07:00
proc Keep searching for file:line until found 2018-05-15 15:41:23 -07:00
terminal terminal: always initialize conf 2018-05-07 10:48:26 -07:00
version all: Bump to v1.0.0 (#1126) 2018-02-19 21:33:47 +01:00