From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19103 invoked by alias); 27 Sep 2007 12:11:13 -0000 Received: (qmail 19081 invoked by uid 22791); 27 Sep 2007 12:11:13 -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:11:10 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 182209832B; Thu, 27 Sep 2007 12:11:09 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 85CF49829E; Thu, 27 Sep 2007 12:11:08 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1IasCx-0007HD-PD; Thu, 27 Sep 2007 08:11:07 -0400 Date: Thu, 27 Sep 2007 12:11:00 -0000 From: Daniel Jacobowitz To: Pierre Muller Cc: 'Adriaan van Os' , gpc@gnu.de, gdb-patches@sourceware.org Subject: Re: [RFC-3] Handle GPC specific name for main function Message-ID: <20070927121107.GB27706@caradoc.them.org> Mail-Followup-To: Pierre Muller , 'Adriaan van Os' , gpc@gnu.de, gdb-patches@sourceware.org References: <20070926175805.GA6208@adacore.com> <001501c80074$ff05ddc0$fd119940$@u-strasbg.fr> <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000001c800dc$14b0df00$3e129d00$@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/msg00405.txt.bz2 On Thu, Sep 27, 2007 at 09:57:41AM +0200, Pierre Muller wrote: > > On second thought - are these symbols present when linking to a dynamic > > libgpc ? > > Does this matter anyhow? > We are just trying to get the > gdb command 'start' to end up at the right location, > i.e. for a pascal program, at the start of > the main procedure of the main source. Yes, it matters. libgpc will not be loaded yet, so _p_initialize might be missing when we try to find the main function. -- Daniel Jacobowitz CodeSourcery