delve/pkg
Sergio Lopez 774b5c7ce2 proc: add support for separate debug info
To save disk space, some distributions strip the debugging information
from the binaries, putting it in separate files, usually distributed in
separate packages.

To locate the file containing the debug information for a certain
binary, an ELF note named ".note.gnu.build-id" is added to the latter,
which contains a header and a build identification. This identification
can be used to compose a path with this form:

/usr/lib/debug/.build-id/BUILDID[:2]/BUILDID[2:].debug

With this patch, if Delve can't find the debug information in the main
binary, it'll try to locate and parse ".note.gnu.build-id", to compose
and attempt to open a path with the format described above.

Fixes #1206
2018-06-21 11:08:00 -07:00
..
config config: Return handle for created default config (#1130) 2018-02-20 20:24:05 +01:00
dwarf proc: use new extended attribute to resolve concrete type of interfaces 2018-06-11 11:09:02 -07:00
goversion proc: correctly set G struct offset for 1.11 2018-06-11 11:09:02 -07:00
logflags service,logflags: log all RPC messages 2018-06-14 09:27:38 -07:00
proc proc: add support for separate debug info 2018-06-21 11:08:00 -07:00
terminal proc,command: fix optimized function warning in 1.9 2018-06-20 07:56:32 -07:00
version all: Bump to v1.0.0 (#1126) 2018-02-19 21:33:47 +01:00