From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13477 invoked by alias); 22 Nov 2003 18:54:15 -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 13116 invoked from network); 22 Nov 2003 18:54:12 -0000 Received: from unknown (HELO localhost.redhat.com) (65.49.0.121) by sources.redhat.com with SMTP; 22 Nov 2003 18:54:12 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 9F3052B8F; Sat, 22 Nov 2003 13:53:59 -0500 (EST) Message-ID: <3FBFB0C7.4050409@gnu.org> Date: Sat, 22 Nov 2003 18:54:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joel Brobecker Cc: gdb-patches@sources.redhat.com Subject: Re: [RFC] minimal symbols on mips-irix and overlapping CUs... References: <20031117223925.GA8608@gnat.com> <20031117233542.GA12125@nevyn.them.org> <3FB966EA.5060500@redhat.com> <20031118002820.GA20227@nevyn.them.org> <20031118012558.GD8608@gnat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-11/txt/msg00467.txt.bz2 > 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. Andrew