From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24590 invoked by alias); 3 Feb 2009 17:40:13 -0000 Received: (qmail 24581 invoked by uid 22791); 3 Feb 2009 17:40:13 -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; Tue, 03 Feb 2009 17:40:04 +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 n13HdeP1022476; Tue, 3 Feb 2009 12:39:40 -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 n13HddGu004685; Tue, 3 Feb 2009 12:39:39 -0500 Received: from opsy.redhat.com (vpn-13-51.rdu.redhat.com [10.11.13.51]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n13HddwO018413; Tue, 3 Feb 2009 12:39:39 -0500 Received: by opsy.redhat.com (Postfix, from userid 500) id 872915080FB; Tue, 3 Feb 2009 10:39:37 -0700 (MST) To: Joel Brobecker Cc: Thiago Jung Bauermann , 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> <20090203002336.GB3964@adacore.com> <1233666130.14735.11.camel@localhost.localdomain> <20090203170106.GI3964@adacore.com> From: Tom Tromey Reply-To: tromey@redhat.com Date: Tue, 03 Feb 2009 17:40:00 -0000 In-Reply-To: <20090203170106.GI3964@adacore.com> (Joel Brobecker's message of "Tue\, 3 Feb 2009 09\:01\:06 -0800") 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/msg00069.txt.bz2 >>>>> "Joel" == Joel Brobecker writes: Joel> I think it's worth a try, but probably Tom and others might want Joel> to comment on that. From my end, for Ada, c_get_string is a good Joel> intermediate solution until the full solution is implemented. Joel> For the "minimal language", I think that this routine would be Joel> the best we could do. Not sure about m2 and Fortran, but maybe Joel> this can equally help... It isn't the right thing for Java, but I don't think that matters much. I'll look at writing the correct function for Java as a follow-up. I'm ok either with the current patch (plus changes to Ada and the minimal language to use c_get_string) or with your suggestion. Tom