From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17555 invoked by alias); 8 Jul 2003 21:55:33 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 17548 invoked from network); 8 Jul 2003 21:55:32 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 8 Jul 2003 21:55:32 -0000 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 19a0Qu-00025O-00 for ; Tue, 08 Jul 2003 17:55:32 -0400 Date: Tue, 08 Jul 2003 21:55:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: [patch, rfc, 6] Check for "main" in minimal symbols in BT Message-ID: <20030708215532.GA7686@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <3F09DB1D.6070003@redhat.com> <20030707210756.GA19339@nevyn.them.org> <3F0B2D22.1040106@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F0B2D22.1040106@redhat.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-07/txt/msg00163.txt.bz2 On Tue, Jul 08, 2003 at 04:44:18PM -0400, Andrew Cagney wrote: > > > >Definitely like the patch! Should we make inside_entry_func also check > >the minimal symbol table? Since we have the entry point PC reliably > >(via ELF headers). > > Hmm, did I mention that inside_entry_func isn't called :-) I still think it should be... otherwise, who knows what'll happen when you step out of main? > (also check the e-mail between my self and JimB, entry_point_address > isn't reliable - there are cases where it isn't but needs to be > re-located or indirected). True. PIE (like PIC, for executables) throws a bit of a wrench in that. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer