This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: [RFA] Version 2 of patch to add 'maint profile-gdb' command


>> 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



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