From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28558 invoked by alias); 23 Nov 2003 01:14:41 -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 28551 invoked from network); 23 Nov 2003 01:14:41 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 23 Nov 2003 01:14:41 -0000 Received: from drow by nevyn.them.org with local (Exim 4.24 #1 (Debian)) id 1ANipl-0002wJ-2u for ; Sat, 22 Nov 2003 20:14:41 -0500 Date: Sun, 23 Nov 2003 01:14:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: [RFC] minimal symbols on mips-irix and overlapping CUs... Message-ID: <20031123011441.GA11272@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <20031117223925.GA8608@gnat.com> <20031117233542.GA12125@nevyn.them.org> <3FB966EA.5060500@redhat.com> <20031118002820.GA20227@nevyn.them.org> <20031118012558.GD8608@gnat.com> <3FBFB0C7.4050409@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FBFB0C7.4050409@gnu.org> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-11/txt/msg00480.txt.bz2 On Sat, Nov 22, 2003 at 01:53:59PM -0500, Andrew Cagney wrote: > >But Joel's case did have debugging information, I think - so just the > >>minsyms are missing? > > > > > >Yes, that's right. And one interesting thing I did find: "nm" on > >mips-irix dumps the symbol from the symbol table AND the dwarf-2 > >info... > > What about the ".pdr" section? > > I get the feeling that core GDB has another really useful table just > beyond its fingertips - the unwind table - and that can be used to find > things like map from a pc to the function start/end/name/...: > > - PPC64 has a traceback table just past the end of the function and that > can provide a pointer (tb_offset) back to the function's start > > - For ia64, it must have similar (for that binary search to work) > > - For MIPS there's this PDR section and it appears to have the function > start as well. I don't believe that the IRIX tools generate .pdr. I might be mistaken about that, though. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer