This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patchv2] GDB 7.2: new feature for "backtrace" that cuts path to file (remain filename)
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org, hal9000ed2k at gmail dot com
- Date: Sat, 01 Dec 2012 19:32:46 +0200
- Subject: Re: [patchv2] GDB 7.2: new feature for "backtrace" that cuts path to file (remain filename)
- References: <20121130185653.GA15394@host2.jankratochvil.net> <83lidiu9im.fsf@gnu.org> <20121201172732.GB20612@host2.jankratochvil.net>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Sat, 1 Dec 2012 18:27:32 +0100
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> 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.