From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1614 invoked by alias); 11 May 2010 16:44:46 -0000 Received: (qmail 1585 invoked by uid 22791); 11 May 2010 16:44:43 -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; Tue, 11 May 2010 16:44:34 +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 o4BGiAQp017202 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 11 May 2010 12:44:10 -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 o4BGi9ae031111; Tue, 11 May 2010 12:44:09 -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 o4BGi7oI014605; Tue, 11 May 2010 12:44:08 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 6E36937824C; Tue, 11 May 2010 10:44:05 -0600 (MDT) From: Tom Tromey To: Joel Brobecker Cc: gdb-patches@sourceware.org Subject: Re: RFC: Add language parameter to all parse.c:parse_* functions References: <20100510215347.GI2957@adacore.com> Reply-To: tromey@redhat.com Date: Tue, 11 May 2010 16:44:00 -0000 In-Reply-To: <20100510215347.GI2957@adacore.com> (Joel Brobecker's message of "Mon, 10 May 2010 23:53:47 +0200") 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/msg00244.txt.bz2 >>>>> "Joel" == Joel Brobecker writes: Joel> As a first step, we need to add language parameter to the parse Joel> routines in parse.c. Here is how I will do this, if that's OK with Joel> everyone: I will add the new parameter, and then review each caller Joel> trying to determine if there is an obvious language we can use. Joel> Otherwise, I will use current_language as the parameter. Joel> Any objection? I think it is a good idea. Tom