From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29096 invoked by alias); 2 Apr 2009 08:52:04 -0000 Received: (qmail 29086 invoked by uid 22791); 2 Apr 2009 08:52:04 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from eu1sys200aog110.obsmtp.com (HELO eu1sys200aog110.obsmtp.com) (207.126.144.129) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 02 Apr 2009 08:51:55 +0000 Received: from source ([164.129.1.35]) (using TLSv1) by eu1sys200aob110.postini.com ([207.126.147.11]) with SMTP ID DSNKSdR8f89PDuQmGyN8Jsn/HBMDwom8VXuv@postini.com; Thu, 02 Apr 2009 08:51:55 UTC Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id CA8CEDB3A; Thu, 2 Apr 2009 08:50:02 +0000 (GMT) Received: from mail2.gnb.st.com (mail2.gnb.st.com [164.129.119.59]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 8A8994BF76; Thu, 2 Apr 2009 08:51:06 +0000 (GMT) Received: from [164.129.122.46] (gnx2504.gnb.st.com [164.129.122.46]) by mail2.gnb.st.com (MOS 3.8.7a) with ESMTP id DBP88613 (AUTH lyon); Thu, 2 Apr 2009 10:51:03 +0200 (CEST) Message-ID: <49D47C75.9000206@st.com> Date: Thu, 02 Apr 2009 08:52:00 -0000 From: Christophe LYON User-Agent: Thunderbird 2.0.0.21 (X11/20090302) MIME-Version: 1.0 To: Joel Brobecker Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH] obvious pattern fix in gdb.base/step-line.exp References: <49CCDB3D.5010302@st.com> <20090327184726.GW9472@adacore.com> <49D083FB.6020108@st.com> <20090330170216.GB9472@adacore.com> <49D21E7E.8080708@st.com> <20090401183240.GD8766@adacore.com> In-Reply-To: <20090401183240.GD8766@adacore.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 2009-04/txt/msg00028.txt.bz2 On 01.04.2009 20:32, Joel Brobecker wrote: >> But I am not 100% sure how to interpret the ANSI C spec regarding the >> #line directive: when the name of the source file has no path (as in >> step-line.c, where #line xx "step-line.c" is used), which path should be >> considered? > > Not sure either. Perhaps it's just unspecified? > I would say so, too. > I'm OK with leaving the testcase untouched if we don't need to. OK. So I won't commit my patch, and fix the compiler instead. Thanks Christophe.