This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patchv2] GDB 7.2: new feature for "backtrace" that cuts path to file (remain filename)


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]