From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Buettner To: Fernando Nasser , Eli Zaretskii Cc: ac131313@cygnus.com, jason-swarelist@molenda.com, gdb-patches@sources.redhat.com, tromey@cygnus.com Subject: Re: [RFA] Version 2 of patch to add 'maint profile-gdb' command Date: Wed, 19 Sep 2001 11:53:00 -0000 Message-id: <1010919185326.ZM14824@ocotillo.lan> References: <20010910003022.A21681@shell17.ba.best.com> <3B9CE0C6.5060700@cygnus.com> <20010910115244.A25119@shell17.ba.best.com> <3B9FACDA.6070407@cygnus.com> <20010916174433.A3258@shell17.ba.best.com> <3BA6DDFE.5080504@cygnus.com> <3BA7EB66.38CE7C83@cygnus.com> <3BA7ED24.1060908@cygnus.com> <3BA8A6BB.5389763C@cygnus.com> <2561-Wed19Sep2001172217+0300-eliz@is.elta.co.il> <3BA8C745.71840E21@cygnus.com> X-SW-Source: 2001-09/msg00260.html On Sep 19, 12:26pm, Fernando Nasser wrote: > Andrew has proposed creating a class of set/show commands "set/show maint" > to replace those. It would be used for instance to turn gdb self profiling > on/off. I proposed that we use the deprecate the existent maint commands that > currently set things directly and add the new "set/show maint" for them. > > So, for maintenance we would have: > > maint [] > set maint > show maint [] > > All these are introspective commands that will examine/affect gdb in order > to debug, test or even to understand it. > > Anyway, it is a modification on the current "maintenance" interface, that is > why I asked for some support beyond the two of us. I like having the maintenance commands all lumped under "maint". That way I can use tab completion to see all of the maintenance related commands when I do (gdb) maint I think a set/show would be useful for some activities; couldn't we add "maint set ..." and "maint show ..." ? Kevin