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

Re: Policy or best practices for debug packages?



On Mon, Jul 07, 2008 at 01:42:43PM +0000, Sune Vuorela wrote:
> On 2008-07-07, Mike Hommey <mh@glandium.org> wrote:
> >
> > /usr/lib/debug/$pathoforiginalfile
> >
> > This is where gdb is going to look for these debug info.
> >
> 
> I thought gdb was looking at the .gnu_debuglink section as created with 
> objcopy?

Yes, but that just determines the basename to search for.

The places searched are $(dirname $origfile)/$debugname, $(dirname
$origfile)/.debug/$debugname, and /usr/lib/debug/$origfile.

-- 
Daniel Jacobowitz
CodeSourcery


Reply to: