From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1460 invoked by alias); 5 Feb 2013 18:23:04 -0000 Received: (qmail 1424 invoked by uid 22791); 5 Feb 2013 18:23:03 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_SPAMHAUS_DROP,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 05 Feb 2013 18:22:52 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r15IMoa1026924 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 5 Feb 2013 13:22:50 -0500 Received: from host2.jankratochvil.net (ovpn-116-18.ams2.redhat.com [10.36.116.18]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r15IMk7Z004455 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 5 Feb 2013 13:22:49 -0500 Date: Tue, 05 Feb 2013 18:23:00 -0000 From: Jan Kratochvil To: Doug Evans Cc: Eli Zaretskii , gdb-patches Subject: Re: [patchv3 13/11] Make relative-with-system-absolute the default Message-ID: <20130205182245.GA19307@host2.jankratochvil.net> References: <20130129221118.GB27463@host2.jankratochvil.net> <20130130074859.GB15998@host2.jankratochvil.net> <831ud2ioax.fsf@gnu.org> <20130202180658.GA16269@host2.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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/msg00123.txt.bz2 On Tue, 05 Feb 2013 18:35:35 +0100, Doug Evans wrote: > I'm not comfortable with the conflating of the term "system" with > "separate debug info". Are you fine with considering "system" to be the files with separate debug info located from 'set debug-file-directory'? Or do you require to have new 'set debug-file-directory-for-system' and separate 'set debug-file-directory' (empty by default)? > I can also imagine wanting system supplied separate debug info treated > differently from separate debug info files for the app being debugged. "separate debug info files for the app being debugged" are those found at the location of the binary itself or under its ".debug/" subdirectory? If that is not enough that the new option 'set debug-file-directory-for-system' vs. application-specific 'set debug-file-directory' should satisfy it, I hope. > One thought (at the implementation level) was to have the setting per-objfile. There is still also the option to just make the default: set filename-display absolute For any larger application - which may involve the app separate debug info - it is probably the best option anyway. I just did not want to complicate debugging of small schoolbook applications but maybe absolute filenames would be easier even in those cases, dunno. Thanks, Jan