From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1371 invoked by alias); 29 Jan 2007 14:11:10 -0000 Received: (qmail 1355 invoked by uid 22791); 29 Jan 2007 14:11:09 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Mon, 29 Jan 2007 14:11:03 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1HBXDo-0007w1-Rt; Mon, 29 Jan 2007 09:11:00 -0500 Date: Mon, 29 Jan 2007 14:11:00 -0000 From: Daniel Jacobowitz To: Rohit Arul Raj Cc: gdb@sourceware.org Subject: Re: Finding Entry symbol Message-ID: <20070129141100.GA30459@nevyn.them.org> Mail-Followup-To: Rohit Arul Raj , gdb@sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) 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/msg00345.txt.bz2 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. -- Daniel Jacobowitz CodeSourcery