[RFC] Re: Profiling gdb?

Daniel Jacobowitz drow@mvista.com
Wed Jan 22 23:52:00 GMT 2003


On Mon, Jan 06, 2003 at 10:10:54AM -0500, Daniel Jacobowitz wrote:
> Here's an updated patch, addressing your concerns and Eli's.  Like it
> better?

It's [finally] in.

> 2003-01-06  Daniel Jacobowitz  <drow@mvista.com>
> 
> 	Original patch by Tom Tromey <tromey@cygnus.com> and
> 	Jason Molenda <jmolenda@apple.com>.
> 	* Makefile.in (PROFILE_CFLAGS): Substitute from configure.
> 	(INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
> 	* NEWS: Mention profiling.
> 	* configure.in (--enable-gdbtk): Fix typo.
> 	(--enable-profiling): New.  Set PROFILE_CFLAGS.
> 	* maint.c (maintenance_set_profile_cmd): Remove NOTYET.
> 	Fill in function.
> 	(profiling_state): New variable.
> 	(mcleanup_wrapper): New function.
> 	(_initialize_maint): Remove NOTYET, fix call to
> 	add_setshow_boolean_cmd for "maint set profile".
> 	* configure: Regenerated.
> 
> 2003-01-06  Daniel Jacobowitz  <drow@mvista.com>
> 
> 	* gdb.texinfo (Maintenance Commands): Add "maint set profile"
> 	and "maint show profile".

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb-patches mailing list