From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1296 invoked by alias); 29 Jan 2007 19:25:36 -0000 Received: (qmail 1271 invoked by uid 22791); 29 Jan 2007 19:25:36 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.palmsource.com (HELO mx2.palmsource.com) (12.7.175.14) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 29 Jan 2007 19:25:31 +0000 Received: from localhost (localhost [127.0.0.1]) by localhost.domain.tld (Postfix) with ESMTP id B008110AEED; Mon, 29 Jan 2007 11:25:29 -0800 (PST) Received: from mx2.palmsource.com ([127.0.0.1]) by localhost (mx2.palmsource.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01426-16-2; Mon, 29 Jan 2007 11:25:28 -0800 (PST) Received: from ussunex01.palmsource.com (unknown [192.168.101.9]) by mx2.palmsource.com (Postfix) with ESMTP id C5D5110AB73; Mon, 29 Jan 2007 11:25:28 -0800 (PST) Received: from 192.168.92.91 ([192.168.92.91]) by ussunex01.palmsource.com ([192.168.101.9]) via Exchange Front-End Server owa.palmsource.com ([10.0.20.17]) with Microsoft Exchange Server HTTP-DAV ; Mon, 29 Jan 2007 19:25:28 +0000 Received: from svmsnyderlnx by owa.palmsource.com; 29 Jan 2007 11:25:26 -0800 Subject: Re: Finding Entry symbol From: Michael Snyder To: Daniel Jacobowitz Cc: Rohit Arul Raj , gdb@sourceware.org In-Reply-To: <20070129141100.GA30459@nevyn.them.org> References: <20070129141100.GA30459@nevyn.them.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Mon, 29 Jan 2007 19:25:00 -0000 Message-Id: <1170098726.7708.9.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-01/txt/msg00346.txt.bz2 On Mon, 2007-01-29 at 09:11 -0500, Daniel Jacobowitz wrote: > On Mon, Jan 29, 2007 at 07:20:56PM +0530, Rohit Arul Raj wrote: > > Hi all, > > > > I am working with GCC 4.1.1 and GDB Version 5.2.1 for a private target. > > I need to find the root entry point from the given binary file (elf format). > > > > Any help regarding this? > > Search for bfd_get_start_address. I highly recommend you not use that > old of a GDB version for any new work, though. Especially with GCC 4.1.1 -- aren't there conflicts over dwarf entries?