From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Fernando Nasser Cc: Eli Zaretskii , Kevin Buettner , 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: Mon, 24 Sep 2001 19:39:00 -0000 Message-id: <3BAFEB5A.7060700@cygnus.com> References: <3BAD1A02.1000702@cygnus.com> <3BAF7465.C3DEE192@cygnus.com> X-SW-Source: 2001-09/msg00327.html >> 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