From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16984 invoked by alias); 31 Dec 2006 18:33:14 -0000 Received: (qmail 16976 invoked by uid 22791); 31 Dec 2006 18:33:13 -0000 X-Spam-Check-By: sourceware.org Received: from zigzag.lvk.cs.msu.su (HELO zigzag.lvk.cs.msu.su) (158.250.17.23) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 31 Dec 2006 18:33:09 +0000 Received: from Debian-exim by zigzag.lvk.cs.msu.su with spam-scanned (Exim 4.50) id 1H15UT-0001xS-9a for gdb-patches@sources.redhat.com; Sun, 31 Dec 2006 21:33:06 +0300 Received: from localhost ([127.0.0.1] helo=ip6-localhost) by zigzag.lvk.cs.msu.su with esmtp (Exim 4.50) id 1H15UO-0001xC-Ki; Sun, 31 Dec 2006 21:32:56 +0300 From: Vladimir Prus Subject: Re: [PATCH] MI: new timing command To: Nick Roberts , gdb-patches@sources.redhat.com Date: Sun, 31 Dec 2006 18:33:00 -0000 References: <17814.10139.269708.848818@kahikatea.snap.net.nz> <17815.27329.161503.370934@kahikatea.snap.net.nz> User-Agent: KNode/0.10.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8Bit Message-Id: 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/msg00416.txt.bz2 Nick Roberts wrote: > + Toggle the printing of the wallclock, user and system times for an MI > + command as a field in its output.  This command is to help frontend > + developers optimize the performance of their code.   I though it's to help gdb developers to optimize performance of their code ;-) At least when gdb takes a second for list frames, there's nothing I can do in a frontend ;-) > No argument is > + equivalent to @samp{yes}. I'd suggest to say that this command may return error if timing is not available. Otherwise, frontend authors might not even think this command can fail, and when it fails, user will see completely buffling error message. - Volodya