From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27008 invoked by alias); 2 Feb 2002 22:45:39 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 26965 invoked from network); 2 Feb 2002 22:45:36 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 2 Feb 2002 22:45:36 -0000 Received: from drow by nevyn.them.org with local (Exim 3.34 #1 (Debian)) id 16X8un-000289-00; Sat, 02 Feb 2002 17:45:45 -0500 Date: Sat, 02 Feb 2002 14:45:00 -0000 From: Daniel Jacobowitz To: Don Bowman Cc: 'Stan Shebs' , 'Greg McGary' , gdb@sources.redhat.com, echristo@redhat.com Subject: Re: MIPS stack tracing Message-ID: <20020202174545.B7876@nevyn.them.org> Mail-Followup-To: Don Bowman , 'Stan Shebs' , 'Greg McGary' , gdb@sources.redhat.com, echristo@redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.23i X-SW-Source: 2002-02/txt/msg00058.txt.bz2 On Sat, Feb 02, 2002 at 03:13:51PM -0500, Don Bowman wrote: > > Stan Shebs wrote: > > > Don Bowman wrote: > > > > > > I've been debugging through gdb for a day or so now, I think > > > I'm on to something. It appears that find_proc_desc is switching > > > to the heuristic approach even though I have a symbol table. > > > > That's a bug for sure. The heuristic approach is only supposed > > to be used for tracing through frames with no debug info. > > > > Stan > > > > Can you confirm that if there is no .stabs, but symbols are present, > that it shouldn't use the heuristic approach? > > It appears that if all my objects are built with at least -g1 > then it works. Most of what it needs should be in .pdr, which is available regardless of -g. I don't believe heuristics should be necessary in that case. The logic is a bit twisted, though... -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer