From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11043 invoked by alias); 16 Oct 2003 04:10:58 -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 11036 invoked from network); 16 Oct 2003 04:10:55 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 16 Oct 2003 04:10:55 -0000 Received: from drow by nevyn.them.org with local (Exim 4.24 #1 (Debian)) id 1A9zTT-0000xZ-EI for ; Thu, 16 Oct 2003 00:10:55 -0400 Date: Thu, 16 Oct 2003 04:10:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: [PATCH] frv-tdep.c: Stop backtraces in entry func, not entry file Message-ID: <20031016041055.GA3565@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <1031014205135.ZM29586@localhost.localdomain> <3F8C70CE.5020504@gnu.org> <1031016000707.ZM23790@localhost.localdomain> <3F8DF0F5.4090807@gnu.org> <1031016033144.ZM24591@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1031016033144.ZM24591@localhost.localdomain> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-10/txt/msg00534.txt.bz2 On Wed, Oct 15, 2003 at 08:31:45PM -0700, Kevin Buettner wrote: > Yes, I agree that deprecated_inside_entry_file() is a bad idea. I > suspect it was being used because past and existing > implementations of inside_entry_func() proved to be unreliable. FYI, I have some local hacks for the dwarf2 reader that are needed to use inside_entry_func reliably (or a number of other things...) in the presence of discarded sections. I'll try to remember to post them but the gist is that until the linker does better, we need to detect wildly-inaccurate bounds on DIEs and not adjust the compilation unit's bounds (or the start function's, either). -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer