From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 512 invoked by alias); 3 Aug 2007 05:54:54 -0000 Received: (qmail 504 invoked by uid 22791); 3 Aug 2007 05:54:53 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO brahms.sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 03 Aug 2007 05:54:49 +0000 Received: from brahms.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by brahms.sibelius.xs4all.nl (8.14.0/8.14.0) with ESMTP id l735scX8010883; Fri, 3 Aug 2007 07:54:38 +0200 (CEST) Received: (from kettenis@localhost) by brahms.sibelius.xs4all.nl (8.14.0/8.14.0/Submit) id l735scVD028947; Fri, 3 Aug 2007 07:54:38 +0200 (CEST) Date: Fri, 03 Aug 2007 05:54:00 -0000 Message-Id: <200708030554.l735scVD028947@brahms.sibelius.xs4all.nl> From: Mark Kettenis To: msnyder@sonic.net CC: gdb-patches@sourceware.org In-reply-to: <10431.12.7.175.2.1186103684.squirrel@webmail.sonic.net> (msnyder@sonic.net) Subject: Re: [PATCH] symfile.c, find_separate_debug_file References: <10431.12.7.175.2.1186103684.squirrel@webmail.sonic.net> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-08/txt/msg00031.txt.bz2 > 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 > > * symfile.c (find_separate_debug_file): While consing up a path, > don't stick in an extra DIR_SEPARATOR.