This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Version 2 of patch to add 'maint profile-gdb' command
- To: Fernando Nasser <fnasser at cygnus dot com>
- Subject: Re: [RFA] Version 2 of patch to add 'maint profile-gdb' command
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Mon, 24 Sep 2001 22:26:34 -0400
- Cc: Eli Zaretskii <eliz at is dot elta dot co dot il>,Kevin Buettner <kevinb at cygnus dot com>, jason-swarelist at molenda dot com,gdb-patches at sources dot redhat dot com, tromey at cygnus dot com
- References: <Pine.SUN.3.91.1010920101719.3922A-100000@is> <3BAD1A02.1000702@cygnus.com> <3BAF7465.C3DEE192@cygnus.com>
>> Fernando, is this part ok?
>>
>
>
> Yes, sure.
Thanks. I've checked it in but with a tweek:
+ #ifdef NOTYET
+ /* FIXME: cagney/2001-09-24: A patch introducing a
+ add_set_boolean_cmd() is pending, the below should probably use
+ it. A patch implementing profiling is pending, this just sets up
+ the framework. */
+ tmpcmd = add_set_cmd ("profile", class_maintenance,
+ var_boolean, &maintenance_profile_p,
+ "Set internal profiling.\n\
+ When enabled GDB is profiled.",
+ &maintenance_set_cmdlist);
+ tmpcmd->function.sfunc = maintenance_set_profile_cmd;
+ add_show_from_set (tmpcmd, &maintenance_show_cmdlist);
+ #endif
I wrapped the ``maint set profile'' stuff in #ifdef NOTYET for the moment.
Andrew