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: [doc,PR 14777] Fix default demangle-style


> From: Yao Qi <yao@codesourcery.com>
> Date: Wed, 28 Nov 2012 21:16:13 +0800
> 
> As reported in PR14777, the default 'demangle-style' in doc is 'gnu',
> while the gdb shows the default is 'auto'.  This inconsistency had
> been there prior to GDB was imported to sourceware cvs.
> 
> The comment at the beginning of demangle.c was written 1992,
> 
>   /* Select the default C++ demangling style to use.  The default is "auto",
> 
> and the line of doc saying "This (gnu) is the default" was written
> in 1995 (with unknown reason).  So I think the 'auto' should be
> correct/desired default value.
> 
> On the other hand, it is common that 'auto' is the default of commands
> options.  This is the last patch against PR 14777, is it OK?
> 
> gdb/doc:
> 
> 2012-11-28  Yao Qi  <yao@codesourcery.com>
> 
> 	PR gdb/1477.
> 	* gdb.texinfo (Print Settings): Correct the default 'demangle-style'
> 	to 'auto' instead of 'gnu'.

Fine with me, thanks.


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