From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16797 invoked by alias); 1 Dec 2012 17:33:11 -0000 Received: (qmail 16786 invoked by uid 22791); 1 Dec 2012 17:33:10 -0000 X-SWARE-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout22.012.net.il (HELO mtaout22.012.net.il) (80.179.55.172) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 01 Dec 2012 17:33:00 +0000 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MED00A004N5RE00@a-mtaout22.012.net.il> for gdb-patches@sourceware.org; Sat, 01 Dec 2012 19:32:57 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MED00AEO4QX4LC0@a-mtaout22.012.net.il>; Sat, 01 Dec 2012 19:32:57 +0200 (IST) Date: Sat, 01 Dec 2012 17:33:00 -0000 From: Eli Zaretskii Subject: Re: [patchv2] GDB 7.2: new feature for "backtrace" that cuts path to file (remain filename) In-reply-to: <20121201172732.GB20612@host2.jankratochvil.net> To: Jan Kratochvil Cc: gdb-patches@sourceware.org, hal9000ed2k@gmail.com Reply-to: Eli Zaretskii Message-id: <837gp1u18h.fsf@gnu.org> References: <20121130185653.GA15394@host2.jankratochvil.net> <83lidiu9im.fsf@gnu.org> <20121201172732.GB20612@host2.jankratochvil.net> 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: 2012-12/txt/msg00004.txt.bz2 > Date: Sat, 1 Dec 2012 18:27:32 +0100 > From: Jan Kratochvil > Cc: gdb-patches@sourceware.org, hal9000ed2k@gmail.com > > On Fri, 30 Nov 2012 21:21:37 +0100, Eli Zaretskii wrote: > > > +set backtrace filename-display basename|relative|absolute > > > +show backtrace filename-display > > > + Control the way in which filenames is displayed in backtraces. > > > + The default remains unchanged ("relative"). > > > > The default cannot "remain" because this setting was not in GDB > > before. So 'The default is "relative".' is a better wording. > > There are two parts which I wanted to say: > > One part is 'The default is "relative".'. The second part is to assure the > reader that nothing has changed in GDB by default, that the former GDB > behavior was the same as if the "relative" option is set now. Then I suggest The default is "relative", which preserves previous behavior.