This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Fix bfd_follow_gnu_debuglink with non-absolute filename
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: binutils at sourceware dot org
- Date: Sat, 23 Aug 2008 15:32:29 +0930
- Subject: Re: Fix bfd_follow_gnu_debuglink with non-absolute filename
- References: <jebq2a1vty.fsf@sykes.suse.de> <jek5gxzmqz.fsf@sykes.suse.de>
On Tue, Jun 10, 2008 at 11:02:12AM +0200, Andreas Schwab wrote:
> Andreas Schwab <schwab@suse.de> writes:
>
> > When searching in the global debugfile directory the name should be
> > based on the canonical name of the bfd file.
>
> This also handles the case where the last component is a symlink leading
> into a different directory.
>
> Andreas.
>
> 2008-06-10 Andreas Schwab <schwab@suse.de>
>
> * opncls.c (find_separate_debug_file): Use the canonical
> absolute name of the bfd object for finding the debug file in
> the global debugfile directory.
OK.
--
Alan Modra
Australia Development Lab, IBM