From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Received: (qmail 22094 invoked from network); 3 Feb 2002 16:11:21 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 3 Feb 2002 16:11:21 -0000 Received: from drow by nevyn.them.org with local (Exim 3.34 #1 (Debian)) id 16XPEk-0004Dg-00; Sun, 03 Feb 2002 11:11:26 -0500 Date: Sun, 03 Feb 2002 12:29: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: <20020203111126.A15978@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/msg00064.txt.bz2 On Sun, Feb 03, 2002 at 10:57:20AM -0500, Don Bowman wrote: > > Daniel Jacobowitz wrote: > > >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... > > Has anyone checked out this older message from the mailing list? > > Re: Questions about GCC MIPS R5900's mdebug section > http://sources.redhat.com/ml/gdb/1999-q4/msg00290.html > > I indeed have no .mdebug section, and I indeed see an unsuccessful > search for "__GDB_EFI_INFO__". I do have a .pdr section. On the > surface this would seem to be my problem. > Should this sym lookup be prefaced with a check for a .mdebug > section? > > Also, from scanning the sources, I would have to guess that the > alpha architecture is suffering the same problem. Perhaps, perhaps not. It depends whether Alpha still uses .mdebug. .mdebug is the ECOFF/Third-Eye debugging info format; binutils recently switched to generating stabs-in-ELF like other targets instead. To my complete surprise, we apparently get PDR information out of the .mdebug section. This is somewhat bizarre, as it is also present in a .pdr section independent of data format. We need to read in this information. I'll investigate next week (if no one beats me to it :). -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer