[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libunwind-devel] [RFC] getting file path where a name is

From: Arun Sharma
Subject: Re: [Libunwind-devel] [RFC] getting file path where a name is
Date: Sun, 6 Oct 2013 09:07:55 -0700


On Wed, Sep 25, 2013 at 7:55 AM, Arun Sharma <address@hidden> wrote:
> On Sun, Sep 22, 2013 at 12:36 AM, Masatake YAMATO <address@hidden> wrote:
>> `unw_get_proc_name' returns the name of current procedure.
>> I'd like to know the path of the file where the name is.
>> libunwind obviously knows the path. However, there is no
>> API for getting it.
>> Attached conceptual patch adds `unw_get_proc_name_and_path' to
>> libunwind for the purpose.
> Why not add unw_get_proc_image() which returns the path as well a
> handle to the image and then call get_proc_name_in_image()? In other
> words, what _UCD_get_proc_name.c is doing.
>  -Arun

reply via email to

[Prev in Thread] Current Thread [Next in Thread]