This is the mail archive of the gdb-cvs@sourceware.org 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]
Other format: [Raw text]

src/gdb/mi mi-parse.h mi-main.c mi-cmds.h mi-c ...


CVSROOT:	/cvs/src
Module name:	src
Changes by:	nickrob@sourceware.org	2007-02-02 23:01:27

Modified files:
	gdb/mi         : mi-parse.h mi-main.c mi-cmds.h mi-cmds.c 

Log message:
	* mi/mi-main.c: Include <sys/resource.h> if present.
	(rusage): Declare if HAVE_GETRUSAGE.
	(current_command_ts, do_timings): New static variables.
	(timestamp, print_diff_now, print_diff, timeval_diff):
	New static timing functions.
	(mi_cmd_enable_timings): New function for new MI command.
	(captured_mi_execute_command, mi_execute_async_cli_command):
	Call timing functions.
	
	* mi/mi-cmds.c (mi_cmds): Add entry for new MI command
	-enable-timings.
	
	* mi/mi-cmds.h (mi_cmd_enable_timings): New extern.
	
	* mi/mi-parse.h: (mi_timestamp): New structure.
	(mi_parse): Add mi_timestamp* member.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/mi/mi-parse.h.diff?cvsroot=src&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/mi/mi-main.c.diff?cvsroot=src&r1=1.91&r2=1.92
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/mi/mi-cmds.h.diff?cvsroot=src&r1=1.20&r2=1.21
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/mi/mi-cmds.c.diff?cvsroot=src&r1=1.23&r2=1.24


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