From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18877 invoked by alias); 26 Feb 2008 00:58:52 -0000 Received: (qmail 18869 invoked by uid 22791); 26 Feb 2008 00:58:51 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 26 Feb 2008 00:58:26 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 574F798118; Tue, 26 Feb 2008 00:58:24 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id DA6A69801D; Tue, 26 Feb 2008 00:58:23 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JTo9G-0000tr-8d; Mon, 25 Feb 2008 19:58:22 -0500 Date: Tue, 26 Feb 2008 01:21:00 -0000 From: Daniel Jacobowitz To: Nick Roberts Cc: Vladimir Prus , gdb-patches@sources.redhat.com, Eli Zaretskii Subject: Re: [RFA] Implement -thread-info. Message-ID: <20080226005822.GA3346@caradoc.them.org> Mail-Followup-To: Nick Roberts , Vladimir Prus , gdb-patches@sources.redhat.com, Eli Zaretskii References: <200802171833.26673.vladimir@codesourcery.com> <200802181038.04497.vladimir@codesourcery.com> <18361.64577.771676.184618@kahikatea.snap.net.nz> <200802201427.36288.vladimir@codesourcery.com> <18371.25340.162317.39030@kahikatea.snap.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18371.25340.162317.39030@kahikatea.snap.net.nz> User-Agent: Mutt/1.5.17 (2007-12-11) 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: 2008-02/txt/msg00378.txt.bz2 On Tue, Feb 26, 2008 at 01:53:16PM +1300, Nick Roberts wrote: > + { "thread-info", { "info threads", 1 }, NULL, NULL }, I would suggest against using args_p == 1 for any new commands. The quoting rules between CLI and MI are different; we ignore that for some commands, but it's a bug and it bites frontend developers. If the arguments are just going to be integers then it doesn't make much difference but it will make things simpler if we want to add either quoted arguments or dashed options later. -- Daniel Jacobowitz CodeSourcery