From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fernando Nasser To: 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 09:29:00 -0000 Message-id: <3BA8C745.71840E21@cygnus.com> 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> X-SW-Source: 2001-09/msg00253.html Eli Zaretskii wrote: > > > Date: Wed, 19 Sep 2001 10:07:55 -0400 > > From: Fernando Nasser > > > > Also, I would like someone else to support us on this move: Tom? Jason? Eli? > > Sorry, I probably wasn't following this thread closely enough: what > move did you have in mind? We have some maint commands that actually set values. Either turn things on/off or set control variables (for instance, name of a log file). As these are just plain commands, there is no way to examine the current settings. 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. -- Fernando Nasser Red Hat - Toronto E-Mail: fnasser@redhat.com 2323 Yonge Street, Suite #300 Toronto, Ontario M4P 2C9