This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] GDB 7.2: new feature for "backtrace" that cuts path to file (remain filename)
> Date: Mon, 4 Jul 2011 15:14:08 +0400
> From: iam ahal <hal9000ed2k@gmail.com>
> 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 <eliz@gnu.org> 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.