From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5829 invoked by alias); 4 Jul 2011 11:58:41 -0000 Received: (qmail 5814 invoked by uid 22791); 4 Jul 2011 11:58:39 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 04 Jul 2011 11:58:25 +0000 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Qdhn8-0000fE-TK; Mon, 04 Jul 2011 07:58:18 -0400 Date: Mon, 04 Jul 2011 12:05:00 -0000 Message-Id: From: Eli Zaretskii To: iam ahal CC: pmuldoon@redhat.com, tromey@redhat.com, brobecker@adacore.com, gdb-patches@sourceware.org In-reply-to: (message from iam ahal on Mon, 4 Jul 2011 15:14:08 +0400) Subject: Re: [patch] GDB 7.2: new feature for "backtrace" that cuts path to file (remain filename) Reply-to: Eli Zaretskii References: <20110627160029.GF20676@adacore.com> <834o33qlm9.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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: 2011-07/txt/msg00093.txt.bz2 > Date: Mon, 4 Jul 2011 15:14:08 +0400 > From: iam ahal > Cc: pmuldoon@redhat.com, tromey@redhat.com, brobecker@adacore.com, > gdb-patches@sourceware.org > > On Sun, Jul 3, 2011 at 10:12 PM, Eli Zaretskii wrote: > > But a larger concern is that GNU coding standards frown on using > > "path" when you really mean "file name".  So I think we should rename > > the option "basename" and the documentation should say > > > >  Same as @code{backtrace}, but print only the basename of the file. > > Fixed. New doc's patch in attachment. Thanks. > What's about backtrace's argument name "nopath"? I stated my suggestion. I'll let Joel and others decide whether it is mandatory to change to "basename" or somesuch.