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

Re: relative path in -dbg packages



* Neil Williams <codehelp@debian.org>, 2014-11-14, 15:21:
Mathieu Malaterre <malat@debian.org> wrote:
[...]
Sometimes you even get a hardcoded "/buildd" toplevel path,

Or /tmp/buildd/, or /home/bob/, which both smell like a (small) security hole.

So my questions are:
1. Is it possible to post-processed those objects file and change relative path to full path

https://packages.debian.org/sid/debugedit

2. Is it possible to reserve a system path for debug information, eg all debug paths should start with "/usr/src/debug"

Isn't there just a gdb user configuration option to set the paths into which you want gdb to look for these paths?

https://sourceware.org/gdb/onlinedocs/gdb/Source-Path.html

--
Jakub Wilk


Reply to: