From: Sami Wagiaalla <swagiaal@redhat.com>
To: Sami Wagiaalla <swagiaal@redhat.com>
Cc: Roland McGrath <roland@redhat.com>, frysk <frysk@sourceware.org>
Subject: Re: Dwarf expertise needed
Date: Tue, 19 Jun 2007 21:38:00 -0000 [thread overview]
Message-ID: <46784B43.3010204@redhat.com> (raw)
In-Reply-To: <46784A34.2030402@redhat.com>
Sami Wagiaalla wrote:
>
>>> 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.
nm... i didnt realize you could use get_scopes with an address.... I'll
update the bug
>
> Thanx,
> Sami
next prev parent reply other threads:[~2007-06-19 21:31 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-19 15:22 Sami Wagiaalla
2007-06-19 15:46 ` Sami Wagiaalla
2007-06-19 18:28 ` Sami Wagiaalla
2007-06-19 21:11 ` Sami Wagiaalla
2007-06-19 21:27 ` Roland McGrath
2007-06-19 21:31 ` Sami Wagiaalla
2007-06-19 21:31 ` Roland McGrath
2007-07-17 17:07 ` Sami Wagiaalla
2007-07-18 9:03 ` Roland McGrath
2007-07-18 15:38 ` Sami Wagiaalla
2007-07-18 22:43 ` Roland McGrath
2007-07-19 15:31 ` Sami Wagiaalla
2007-07-21 0:29 ` Roland McGrath
2007-07-26 15:42 ` Sami Wagiaalla
2007-08-07 9:04 ` Roland McGrath
2007-08-09 17:06 ` Sami Wagiaalla
2007-07-19 15:40 ` Sami Wagiaalla
2007-06-19 21:38 ` Sami Wagiaalla [this message]
2007-06-19 21:58 ` Sami Wagiaalla
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46784B43.3010204@redhat.com \
--to=swagiaal@redhat.com \
--cc=frysk@sourceware.org \
--cc=roland@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).