*** empty log message ***
authorNick Roberts <nickrob@snap.net.nz>
Fri, 2 Feb 2007 22:52:06 +0000 (22:52 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Fri, 2 Feb 2007 22:52:06 +0000 (22:52 +0000)
gdb/ChangeLog

index 5811d2424f9c510e74dfd6357ffdccc26027b73f..00c0ad53dffa994056d7522e1d27cdf74efa04b7 100644 (file)
@@ -1,3 +1,27 @@
+2007-01-03  Nick Roberts  <nickrob@snap.net.nz>
+
+           Based on work by Apple Computer, Inc.
+
+       * configure.ac: Test for sys/resource.h and getrusage.
+       * configure, config.in: Regenerate.
+
+       * 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.
+
 2007-02-02  Denis Pilat  <denis.pilat@st.com>
 
        * thread.c (make_cleanup_restore_current_thread): New function.