From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32400 invoked by alias); 19 Jun 2007 21:27:22 -0000 Received: (qmail 32390 invoked by uid 22791); 19 Jun 2007 21:27:21 -0000 X-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DK_POLICY_SIGNSOME,SPF_HELO_PASS,SPF_PASS,TW_DW X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 19 Jun 2007 21:27:19 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l5JLRHR6029274 for ; Tue, 19 Jun 2007 17:27:17 -0400 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l5JLRGoZ004340; Tue, 19 Jun 2007 17:27:16 -0400 Received: from [172.16.14.55] (toner.toronto.redhat.com [172.16.14.55]) by pobox.toronto.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id l5JLRGG5012570; Tue, 19 Jun 2007 17:27:16 -0400 Message-ID: <46784A34.2030402@redhat.com> Date: Tue, 19 Jun 2007 21:31:00 -0000 From: Sami Wagiaalla User-Agent: Thunderbird 1.5.0.12 (X11/20070530) MIME-Version: 1.0 To: Roland McGrath CC: frysk Subject: Re: Dwarf expertise needed References: <20070619211151.0AAF24D05D3@magilla.localdomain> In-Reply-To: <20070619211151.0AAF24D05D3@magilla.localdomain> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact frysk-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-owner@sourceware.org X-SW-Source: 2007-q2/txt/msg00341.txt.bz2 >> get_addrdie() does not return the correct die: >> > > The libdw and libdwfl functions called "addrdie" give you the CU containing > that address, as they are described to do. It sounds like you are > expecting something different. > Okay it sounds like I missunderstood what addrdie does. I guess what I am trying to do is find the narrowest scope which contains the given pc. Is there a way to get all dies whos ranges contain the pc maybe ? The problem I am trying to solve is given a pc find the inlined/concrete function that contains it. Thanx, Sami