From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13948 invoked by alias); 5 Feb 2009 17:01:34 -0000 Received: (qmail 13797 invoked by uid 22791); 5 Feb 2009 17:01:33 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from e24smtp02.br.ibm.com (HELO e24smtp02.br.ibm.com) (32.104.18.86) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 05 Feb 2009 17:01:26 +0000 Received: from d24relay01.br.ibm.com (d24relay01.br.ibm.com [9.8.31.16]) by e24smtp02.br.ibm.com (8.13.1/8.13.1) with ESMTP id n15H8hP2014397 for ; Thu, 5 Feb 2009 15:08:43 -0200 Received: from d24av01.br.ibm.com (d24av01.br.ibm.com [9.18.232.46]) by d24relay01.br.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id n15I0prA3784814 for ; Thu, 5 Feb 2009 15:00:51 -0300 Received: from d24av01.br.ibm.com (loopback [127.0.0.1]) by d24av01.br.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n15H1Nn7020519 for ; Thu, 5 Feb 2009 15:01:23 -0200 Received: from [9.18.201.230] ([9.18.201.230]) by d24av01.br.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n15H1L6r020497; Thu, 5 Feb 2009 15:01:22 -0200 Subject: Re: [RFA] Add la_getstr member to language_defn From: Thiago Jung Bauermann To: Joel Brobecker Cc: Daniel Jacobowitz , gdb-patches ml In-Reply-To: <20090203170106.GI3964@adacore.com> 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> <20090203002336.GB3964@adacore.com> <1233666130.14735.11.camel@localhost.localdomain> <20090203170106.GI3964@adacore.com> Content-Type: text/plain; charset=utf-8 Date: Thu, 05 Feb 2009 17:01:00 -0000 Message-Id: <1233853281.14735.88.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit 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: 2009-02/txt/msg00131.txt.bz2 El mar, 03-02-2009 a las 09:01 -0800, Joel Brobecker escribió: > > > I was wondering if it wouldn't be more useful to use the c_get_string > > > function as the default rather than the default_get_string stub. > > > What do you guys think? > > > > I don't have an opinion here, since I know little about how other > > languages represent strings... > > I think it's worth a try, but probably Tom and others might want > to comment on that. From my end, for Ada, c_get_string is a good > intermediate solution until the full solution is implemented. > For the "minimal language", I think that this routine would be > the best we could do. Not sure about m2 and Fortran, but maybe > this can equally help... For the time being I committed the patch with default_get_string, but with Ada and minimal using c_get_string, I hope you don't mind... We can change this when someone knowledgeable about m2 and fortran speaks up. -- []'s Thiago Jung Bauermann IBM Linux Technology Center