From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21503 invoked by alias); 4 Feb 2009 19:19:59 -0000 Received: (qmail 21493 invoked by uid 22791); 4 Feb 2009 19:19:59 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 04 Feb 2009 19:19:50 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n14JJhxv026508; Wed, 4 Feb 2009 14:19:43 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n14JJghe008539; Wed, 4 Feb 2009 14:19:43 -0500 Received: from opsy.redhat.com (vpn-14-42.rdu.redhat.com [10.11.14.42]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n14JJfgB019181; Wed, 4 Feb 2009 14:19:42 -0500 Received: by opsy.redhat.com (Postfix, from userid 500) id C48633785DA; Wed, 4 Feb 2009 12:19:39 -0700 (MST) To: Thiago Jung Bauermann Cc: Daniel Jacobowitz , gdb-patches ml Subject: Re: [RFA] Add la_getstr member to language_defn References: <1227417278.28256.183.camel@localhost.localdomain> <20081123161013.GA15069@caradoc.them.org> <1227490821.8533.25.camel@hotblack.bauerhaus> <20081124022858.GA19331@caradoc.them.org> <1227551659.28256.225.camel@localhost.localdomain> <20081124202146.GA1991@caradoc.them.org> <1227564549.28256.248.camel@localhost.localdomain> <1230949603.8380.143.camel@localhost.localdomain> <1233665501.14735.7.camel@localhost.localdomain> <1233751023.14735.40.camel@localhost.localdomain> From: Tom Tromey Reply-To: Tom Tromey Date: Wed, 04 Feb 2009 19:19:00 -0000 In-Reply-To: <1233751023.14735.40.camel@localhost.localdomain> (Thiago Jung Bauermann's message of "Wed\, 04 Feb 2009 10\:37\:03 -0200") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (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: 2009-02/txt/msg00100.txt.bz2 >>>>> "Thiago" == Thiago Jung Bauermann writes: Thiago> You're worried about complexity in the code for c_get_string, or its Thiago> callers? The former is not a problem because we get this behaviour for Thiago> free from read_string, which is also called by val_print_string. This Thiago> function uses a partial result. FYI -- we talked about this on irc, and Thiago is going to change la_getstr to return void and throw an exception on a short read. Tom