This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] symfile.c, find_separate_debug_file
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: msnyder at sonic dot net
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 3 Aug 2007 07:54:38 +0200 (CEST)
- Subject: Re: [PATCH] symfile.c, find_separate_debug_file
- References: <10431.12.7.175.2.1186103684.squirrel@webmail.sonic.net>
> Date: Thu, 2 Aug 2007 18:14:44 -0700 (PDT)
> From: msnyder@sonic.net
>
> Just for a change, here's one that was not inspired by Coverity.
>
> Find separate debug file does not work in the case where the path
> lies in the global debug file directory -- because we stick an extra
> slash into the pathname.
Since when do extra slashes in a pathname hurt?
> 2007-08-02 Michael Snyder <msnyder@access-company.com>
>
> * symfile.c (find_separate_debug_file): While consing up a path,
> don't stick in an extra DIR_SEPARATOR.