From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22828 invoked by alias); 27 Sep 2007 12:40:25 -0000 Received: (qmail 22750 invoked by uid 22791); 27 Sep 2007 12:40:24 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 27 Sep 2007 12:40:23 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id BF1D89832A; Thu, 27 Sep 2007 12:40:21 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 54E199829E; Thu, 27 Sep 2007 12:40:21 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1IasfE-0007bO-G9; Thu, 27 Sep 2007 08:40:20 -0400 Date: Thu, 27 Sep 2007 12:40:00 -0000 From: 'Daniel Jacobowitz' To: Pierre Muller Cc: 'Joel Brobecker' , 'Adriaan van Os' , gpc@gnu.de, gdb-patches@sourceware.org Subject: Re: [RFC-3] Handle GPC specific name for main function Message-ID: <20070927124020.GA29185@caradoc.them.org> Mail-Followup-To: Pierre Muller , 'Joel Brobecker' , 'Adriaan van Os' , gpc@gnu.de, gdb-patches@sourceware.org References: <20070926194950.GA21242@adacore.com> <000701c80089$815378f0$83fa6ad0$@u-strasbg.fr> <000801c8008e$0aa12c70$1fe38550$@u-strasbg.fr> <20070927060246.GB3787@adacore.com> <000001c800d8$21cbcf00$65636d00$@u-strasbg.fr> <46FB5E2C.6080606@microbizz.nl> <46FB5F76.9050501@microbizz.nl> <000001c800dc$14b0df00$3e129d00$@u-strasbg.fr> <20070927121107.GB27706@caradoc.them.org> <001b01c80102$e371af60$aa550e20$@u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001b01c80102$e371af60$aa550e20$@u-strasbg.fr> User-Agent: Mutt/1.5.15 (2007-04-09) 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: 2007-09/txt/msg00407.txt.bz2 On Thu, Sep 27, 2007 at 02:35:29PM +0200, Pierre Muller wrote: > Anyhow, this can only lead to failures to detect > GPC properly. I think that the patch, even if it might > miss more cases, is also much more safe this way, because > we only use (_p_MO__main_program or pascal_main_program) > as start command breakpoint if '_p_initialize' was also found. Seems reasonable to me. Joel? -- Daniel Jacobowitz CodeSourcery