From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22303 invoked by alias); 8 Oct 2007 17:24:00 -0000 Received: (qmail 22294 invoked by uid 22791); 8 Oct 2007 17:23:59 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 08 Oct 2007 17:23:51 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 4556E2AC27C; Mon, 8 Oct 2007 13:23:49 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id XHSmeA4bmGnF; Mon, 8 Oct 2007 13:23:49 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 0E0DF2AC27A; Mon, 8 Oct 2007 13:23:49 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 92AA1E7B58; Mon, 8 Oct 2007 10:23:46 -0700 (PDT) Date: Mon, 08 Oct 2007 17:24:00 -0000 From: Joel Brobecker To: Pierre Muller Cc: 'Eli Zaretskii' , gdb-patches@sourceware.org, gpc@gnu.de Subject: Re: [RFA-2] Handle GPC specific name for main function Message-ID: <20071008172346.GQ3570@adacore.com> References: <001701c805a0$1da99b60$58fcd220$@u-strasbg.fr> <20071005181620.GB3570@adacore.com> <20071007071713.GG3570@adacore.com> <20071008063451.GI3570@adacore.com> <005801c8097d$cd45e110$67d1a330$@u-strasbg.fr> <20071008151408.GN3570@adacore.com> <000601c809c1$f278cbc0$d76a6340$@u-strasbg.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000601c809c1$f278cbc0$d76a6340$@u-strasbg.fr> User-Agent: Mutt/1.4.2.2i 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: 2007-10/txt/msg00171.txt.bz2 > 2007-10-08 Pierre Muller > > * p-lang.h (pascal_main_name): Add declaration. > * p-lang.c (GPC_P_INITIALIZE, GPC_MAIN_PROGRAM_NAME_1) > (GPC_MAIN_PROGRAM_NAME_2): New constants. > (pascal_main_name): New function. > * symtab.c: Include p-lang.h. > (find_main_name): Add call to pascal_main_name. > * Makefile.in (symtab.o): Add dependency on p-lang.h. I've tested this patch for you. I couldn't test the pascal side of it, but I figured you did for your other message. You can check this in, now. Thanks, -- Joel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12089 invoked by alias); 8 Oct 2007 18:09:21 -0000 Received: (qmail 12079 invoked by uid 22791); 8 Oct 2007 18:09:20 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 08 Oct 2007 18:09:12 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 4556E2AC27C; Mon, 8 Oct 2007 13:23:49 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id XHSmeA4bmGnF; Mon, 8 Oct 2007 13:23:49 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 0E0DF2AC27A; Mon, 8 Oct 2007 13:23:49 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 92AA1E7B58; Mon, 8 Oct 2007 10:23:46 -0700 (PDT) Date: Mon, 08 Oct 2007 18:45:00 -0000 From: Joel Brobecker To: Pierre Muller Cc: 'Eli Zaretskii' , gdb-patches@sourceware.org, gpc@gnu.de Subject: Re: [RFA-2] Handle GPC specific name for main function Message-ID: <20071008172346.GQ3570@adacore.com> References: <001701c805a0$1da99b60$58fcd220$@u-strasbg.fr> <20071005181620.GB3570@adacore.com> <20071007071713.GG3570@adacore.com> <20071008063451.GI3570@adacore.com> <005801c8097d$cd45e110$67d1a330$@u-strasbg.fr> <20071008151408.GN3570@adacore.com> <000601c809c1$f278cbc0$d76a6340$@u-strasbg.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000601c809c1$f278cbc0$d76a6340$@u-strasbg.fr> User-Agent: Mutt/1.4.2.2i 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: 2007-10/txt/msg00173.txt.bz2 Message-ID: <20071008184500.hY9c4pspoMTMdEHRoxYZh3lUjJ9hufN5p7PrXkfm7wI@z> > 2007-10-08 Pierre Muller > > * p-lang.h (pascal_main_name): Add declaration. > * p-lang.c (GPC_P_INITIALIZE, GPC_MAIN_PROGRAM_NAME_1) > (GPC_MAIN_PROGRAM_NAME_2): New constants. > (pascal_main_name): New function. > * symtab.c: Include p-lang.h. > (find_main_name): Add call to pascal_main_name. > * Makefile.in (symtab.o): Add dependency on p-lang.h. I've tested this patch for you. I couldn't test the pascal side of it, but I figured you did for your other message. You can check this in, now. Thanks, -- Joel