[PATCH 3/3] gdb: don't show deprecated aliases

Philippe Waroquiers philippe.waroquiers@skynet.be
Sat Dec 4 12:33:36 GMT 2021


On Fri, 2021-12-03 at 16:48 -0500, Simon Marchi wrote:
> 
> On 2021-12-03 11:16, Pedro Alves wrote:
> > On 2021-12-01 16:41, Simon Marchi via Gdb-patches wrote:
> > 
> > 
> > > After:
> > > 
> > >     (gdb) help set index-cache enabled
> > >     Enable the index cache.
> > >     When on, enable the use of the index cache.
> > >     (gdb) help set index-cache on
> > >     Warning: 'set index-cache on', an alias for the command 'set index-cache enabled', is deprecated.
> > >     Use 'set index-cache enabled on'.
> > > 
> > >     Enable the index cache.
> > >     When on, enable the use of the index cache.
> > > 
> > > Change-Id: I989b618a5ad96ba975367e9d16db95523cd57a4c
> > 
> > LGTM.
> 
> Thanks.
> 
> Philippe, do you have an opinion on this change of behavior?
> 
> Simon
I agree that showing deprecated aliases is not useful,
and the 'After' output is much better.

Thanks
Philippe




More information about the Gdb-patches mailing list