From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5181 invoked by alias); 5 Feb 2013 17:35:44 -0000 Received: (qmail 5053 invoked by uid 22791); 5 Feb 2013 17:35:42 -0000 X-SWARE-Spam-Status: No, hits=-5.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail-vc0-f177.google.com (HELO mail-vc0-f177.google.com) (209.85.220.177) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 05 Feb 2013 17:35:36 +0000 Received: by mail-vc0-f177.google.com with SMTP id m18so237360vcm.8 for ; Tue, 05 Feb 2013 09:35:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=7eowbQLpeBcKLAmtdevd8xIt6EsKyUcciQlt7Tm0pXA=; b=TuverlEGPvKpZCzbliIKibwc23znNoHFECM83g2xyTfEvEGYPXElVvBVU8nLwVocHP b2pLsWNecCocN5JEJti24w7+qp/f1oznfOOOnx3P4dCNbUpTX/Id8icT14j4jejk/LF/ /jkTr+sw4gdjBa+jR/DyB7CMu50gJgtPXE2cqWtJYZuoCt9yom8zLy/+O3eSk+loSErr MooGZJDa6vOBCOnoKuLXOOUNJ5KHnZIm0qLGurSFM0TffS9VvfAQSWNufURXehnR2XyR qsX6nhXfrG3jOs3mY0FD8Y3Avco7R4w00DJ73nUPmv2VXNad26cnVLKOTd4Xn9F8YAo+ gjOw== MIME-Version: 1.0 X-Received: by 10.220.153.2 with SMTP id i2mr28005977vcw.53.1360085735826; Tue, 05 Feb 2013 09:35:35 -0800 (PST) Received: by 10.220.119.72 with HTTP; Tue, 5 Feb 2013 09:35:35 -0800 (PST) In-Reply-To: <20130202180658.GA16269@host2.jankratochvil.net> References: <20130129221118.GB27463@host2.jankratochvil.net> <20130130074859.GB15998@host2.jankratochvil.net> <831ud2ioax.fsf@gnu.org> <20130202180658.GA16269@host2.jankratochvil.net> Date: Tue, 05 Feb 2013 17:35:00 -0000 Message-ID: Subject: Re: [patchv3 13/11] Make relative-with-system-absolute the default From: Doug Evans To: Jan Kratochvil Cc: Eli Zaretskii , gdb-patches Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmKo30qTzfuxKjdKNuoEllOybQ5ukzu0TFXLvqESTZZUoyMfk32nhxB1j4PdnFt3uEHurjYB8Cwh2kcVLuDTna7x7gpbYYUUjjOWz1WTzv7jeBm2NY4xaqDLBZC/8KTX4Rf/G4aWfInIdvUrf6kGjM/KTV0xxHJwp3/PyYQahkXLA0SbX5uHY3iqOFKV7M+JpLp8ebrtQqp98MIR6PCc4F+00kMDA== 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: 2013-02/txt/msg00121.txt.bz2 On Sat, Feb 2, 2013 at 10:06 AM, Jan Kratochvil wrote: > On Wed, 30 Jan 2013 18:16:38 +0100, Eli Zaretskii wrote: >> > --- a/gdb/NEWS >> > +++ b/gdb/NEWS >> > @@ -119,7 +119,9 @@ set filename-display basename|relative|absolute|relative-with-system-absolute >> > |basename-with-system-absolute >> > show filename-display >> > Control the way in which filenames is displayed. >> > - The default is "relative", which preserves previous behavior. >> > + Previous behavior was "relative". >> > + New default is "relative-with-system-absolute", which prints source filenames >> > + from files with present separate debug info in absolute form. >> >> I believe "present" should be removed from here. > > I will remove it but it was present there to highlight it does not apply to > files with separated debug info where the separate debug info is currently not > installed. Although in such case no source filename is printed at all so it > is irrelevant whether it would be printed in absolute or relative form. > > But maybe I am too biased into the internal details not interesting to casual > user. Hi. I'm not comfortable with the conflating of the term "system" with "separate debug info". I can imagine that for distributions the common usage of this option will be with system supplied separate debug info, but the two concepts are orthogonal. I can also imagine wanting system supplied separate debug info treated differently from separate debug info files for the app being debugged. How to achieve that ... dunno. One thought (at the implementation level) was to have the setting per-objfile. How to effect that from the u/i ... dunno. Thoughts?