[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Automatic Debug Packages

On 2009-08-10, Manoj Srivastava <srivasta@debian.org> wrote:
> On Mon, Aug 10 2009, Sune Vuorela wrote:
>> On 2009-08-10, Manoj Srivastava <srivasta@debian.org> wrote:
>>>         I would also add that the debug symbols should live in
>>>  "/usr/lib/debug/" . /full/path/to/lib_or_binary, blessing the current
>>>  practice.
>> You are missing the new features of build-id as written earlier by
>> insisting on this.
>         Please, Do enlighten me.

>From earlier in this thread:

|instead of objcopy and stuff people current do, either manually or with
|the help of dh_strip and wrap it in a foo-dbg.deb by using the
|.gnu_debuglink to and the expected paths by gdb and friends on where to
|find it, instead use the newfangled build id and put it in a appropriate
|hashed directory structure, as gdb and friends also are able to pick up,
|and then wrap it in a foo.ddeb package.
|There is nothing actually magic in it, except making it easy to use, but
|for more technical details, 
|see the --build-id option to ld(1) for more details about what build-id is
|and the gdb manual chapter 15.2 for more info about debugging
|information in seperate files.



Reply to: