Feature #12352
libproc could know about .gnu_debuglink for remote symbol tables
Start date:
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
There are many cases where binaries may have symbol tables and debug information in a remote file. This is particularly relevant in lx branded zones and from other platforms. It would help if we could teach libproc how to understand the .gnu_debuglink section which would automatically enable mdb, DTrace, the ptools, etc.
Updated by Robert Mustacchi 12 months ago
This was primarily tested at Joyent by using tools that use libproc such as mdb, dtrace, pstack, etc. on Linux binaries via the lx brand. This allowed us to test the actual GNU built (gcc/gld) versions of this. I used the debian and ubuntu debug packages for that.
Updated by Electric Monk 12 months ago
- Status changed from New to Closed
- % Done changed from 90 to 100
git commit e68846a8e404cfae64e1c4e685626bf6867ce513
commit e68846a8e404cfae64e1c4e685626bf6867ce513 Author: Robert Mustacchi <rm@joyent.com> Date: 2020-03-16T10:59:44.000Z 12352 libproc could know about .gnu_debuglink for remote symbol tables Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>