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

Eli Zaretskii eliz@gnu.org
Sat Dec 1 17:33:00 GMT 2012


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



More information about the Gdb-patches mailing list