From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32449 invoked by alias); 6 Jan 2008 05:45:35 -0000 Received: (qmail 32439 invoked by uid 22791); 6 Jan 2008 05:45:34 -0000 X-Spam-Check-By: sourceware.org Received: from qnxmail.qnx.com (HELO nimbus.ott.qnx.com) (209.226.137.76) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 06 Jan 2008 05:45:02 +0000 Received: by nimbus.ott.qnx.com with Internet Mail Service (5.5.2653.19) id ; Sun, 6 Jan 2008 00:45:00 -0500 Message-ID: <2F6320727174C448A52CEB63D85D11F40A59@nova.ott.qnx.com> From: Aleksandar Ristovski To: Doug Evans , gdb-patches@sourceware.org Subject: RE: [RFC] make handling of input path vs subfile path consistent Date: Sun, 06 Jan 2008 05:45:00 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-IsSubscribed: yes 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: 2008-01/txt/msg00094.txt.bz2 > > Hi. There's something I don't understand. Why does start_subfile not > prepend dirname to name if the latter is not absolute? Since > name,dirname are added to the subfile list if there isn't a match and > then will later be used to do matches, it seems like we want to > prepend dirname to the input name before doing FILENAME_CMP. Yes. This should solve my "problem 1" from http://sourceware.org/ml/gdb/2008-01/msg00013.html Thanks.