From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6718 invoked by alias); 30 Dec 2006 16:09:29 -0000 Received: (qmail 6707 invoked by uid 22791); 30 Dec 2006 16:09:28 -0000 X-Spam-Check-By: sourceware.org Received: from heller.inter.net.il (HELO heller.inter.net.il) (192.114.186.73) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 30 Dec 2006 16:09:23 +0000 Received: from HOME-C4E4A596F7 (IGLD-84-229-225-74.inter.net.il [84.229.225.74]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id BKB35159 (AUTH halo1); Sat, 30 Dec 2006 18:09:16 +0200 (IST) Date: Sat, 30 Dec 2006 16:09:00 -0000 Message-Id: From: Eli Zaretskii To: Nick Roberts CC: gdb-patches@sourceware.org In-reply-to: <17814.10139.269708.848818@kahikatea.snap.net.nz> (message from Nick Roberts on Sat, 30 Dec 2006 21:47:23 +1300) Subject: Re: [PATCH] MI: new timing command Reply-to: Eli Zaretskii References: <17814.10139.269708.848818@kahikatea.snap.net.nz> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-12/txt/msg00365.txt.bz2 > From: Nick Roberts > Date: Sat, 30 Dec 2006 21:47:23 +1300 > > Here's a patch for timing MI commands e.g. Thanks, but where's the documentation to go with it? > diff -c -p -r1.86 mi-main.c > *** mi-main.c 17 Nov 2006 19:30:41 -0000 1.86 > --- mi-main.c 30 Dec 2006 08:42:29 -0000 > *************** > *** 49,54 **** > --- 49,55 ---- > > #include > #include > + #include Is sys/resource.h guaranteed to be available on all supported platforms? If not, we need to add a configure-time test and enable this code only under HAVE_GETRUSAGE or some such.