From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 306 invoked by alias); 24 May 2010 22:40:13 -0000 Received: (qmail 32765 invoked by uid 22791); 24 May 2010 22:40:12 -0000 X-SWARE-Spam-Status: No, hits=-5.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 24 May 2010 22:40:06 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o4OMdsRs002889 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 24 May 2010 18:39:54 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o4OMdl73007968; Mon, 24 May 2010 18:39:47 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o4OMdk88004880; Mon, 24 May 2010 18:39:46 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 0C0D03782C5; Mon, 24 May 2010 16:39:46 -0600 (MDT) From: Tom Tromey To: Doug Evans Cc: gdb-patches@sourceware.org Subject: Re: [RFA] new python features: gdb.GdbError, gdb.string_to_argv References: <20100522165438.5D5A48439A@ruffy.mtv.corp.google.com> Reply-To: tromey@redhat.com Date: Mon, 24 May 2010 22:57:00 -0000 In-Reply-To: (Doug Evans's message of "Mon, 24 May 2010 09:26:59 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2010-05/txt/msg00558.txt.bz2 >>>>> "Doug" == Doug Evans writes: Doug> OTOOH there's commands that use parse_to_comma. If gdb needs to Doug> provide that (if only implemented as a wrapper around some Doug> python-provided module, users should only ever have to import a Doug> function and invoke it), then I think it should provide both Doug> parse_to_comma and libiberty's buildargv. Ok, that sounds reasonable to me. Why doesn't your implementation actually use gdb_buildargv? Tom