[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/libc.so.6 is:
>
> 1) /lib/libc.so.6
> 2) /lib/.debug/libc.so.6
> 3) /usr/lib/debug/lib/libc.so.6
>
> That does not work, because it will first read /lib/libc.so.6, see the
> debuglink pointing to "libc.so.6" and again try to lookup /lib/libc.so.6. This
> patch changes that order to:
>
> 1) /usr/lib/debug/lib/libc.so.6
> 2) /lib/.debug/libc.so.6
> 3) /lib/libc.so.6
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 libc.so.6.debug.
--
Daniel Jacobowitz
CodeSourcery
[Libunwind-devel] [PATCH 2/7] Change debuglink lookup order, Anderson Lizardo, 2008/06/25
- Re: [Libunwind-devel] [PATCH 2/7] Change debuglink lookup order,
Daniel Jacobowitz <=
[Libunwind-devel] [PATCH 1/7] ARM: add missing register offsets, Anderson Lizardo, 2008/06/25
[Libunwind-devel] [PATCH 3/7] Fix issue with resolving relative addresses for prelinked libraries, Anderson Lizardo, 2008/06/25
[Libunwind-devel] [PATCH 4/7] Add path and pathlen arguments to tdep_get_elf_image(), Anderson Lizardo, 2008/06/25
Re: [Libunwind-devel] [PATCH 0/7] ARM: add remote backtrace support, Daniel Jacobowitz, 2008/06/25