From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1084 invoked by alias); 22 Jul 2009 12:12:14 -0000 Received: (qmail 1064 invoked by uid 22791); 22 Jul 2009 12:12:13 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 22 Jul 2009 12:12:00 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id BC6ED1062D; Wed, 22 Jul 2009 12:11:57 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id 9B44B10576; Wed, 22 Jul 2009 12:11:57 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1MTafs-0007sJ-GJ; Wed, 22 Jul 2009 08:11:56 -0400 Date: Wed, 22 Jul 2009 15:49:00 -0000 From: Daniel Jacobowitz To: Thinker Li Cc: gdb-patches@sourceware.org Subject: Re: Get backtrace at PLT and stepi into PLT Message-ID: <20090722121156.GA29984@caradoc.them.org> Mail-Followup-To: Thinker Li , gdb-patches@sourceware.org References: <20090721180907.GB11667@caradoc.them.org> <19046.58285.142467.788502@bibi.branda.to> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <19046.58285.142467.788502@bibi.branda.to> User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2009-07/txt/msg00537.txt.bz2 On Wed, Jul 22, 2009 at 06:02:20PM +0800, Thinker Li wrote: > Is it possible that entry point of an program is 0? > Maybe, we should change interface of entry_point_address() to indicate > an unknown address. Yes, the entry can be zero. But we ought to be able to find an entry address, even on Android. I think things will work out well enough if we require the function not to be zero for that check. It would be better if we could differentiate a valid function at zero from an unknown function, but we can't. -- Daniel Jacobowitz CodeSourcery