[Top][All Lists]

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

Re: [Libunwind-devel] [PATCH 2/7] Change debuglink lookup order

From: Daniel Jacobowitz
Subject: Re: [Libunwind-devel] [PATCH 2/7] Change debuglink lookup order
Date: Wed, 25 Jun 2008 08:23:40 -0400
User-agent: Mutt/1.5.17 (2008-05-11)

On Wed, Jun 25, 2008 at 07:51:09AM -0400, Anderson Lizardo wrote:
> Current lookup order for e.g. /lib/ is:
> 1) /lib/
> 2) /lib/.debug/
> 3) /usr/lib/debug/lib/
> That does not work, because it will first read /lib/, see the
> debuglink pointing to "" and again try to lookup /lib/ This
> patch changes that order to: 
> 1) /usr/lib/debug/lib/
> 2) /lib/.debug/
> 3) /lib/

The existing search order is the same as that used by other tools
which handle .gnu_debuglink, so I suggest you do not change it.  One
options is to reject separate debuginfo files that include a
.gnu_debuglink section.  Another would be to use any other naming
convention; Debian uses

Daniel Jacobowitz

reply via email to

[Prev in Thread] Current Thread [Next in Thread]