libunwind-devel
[Top][All Lists]
Advanced

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

Re: [Libunwind-devel] _UPT_access_* functions don't seem to work.


From: Arun Sharma
Subject: Re: [Libunwind-devel] _UPT_access_* functions don't seem to work.
Date: Mon, 20 Jun 2011 17:51:50 -0700

On Mon, Jun 20, 2011 at 5:26 PM, Abhishek Kulkarni <address@hidden> wrote:
>
> Hello,
> Are the _UPT_access_* functions from libunwind-ptrace deprecated? The 
> man-page documentation[1] for these functions is lacking and I don't really 
> understand why they should be used over the corresponding unw_get_* 
> functions. It seems like the former don't work as expected in some cases.

 _UPT_access_* are internal functions abstracted via unw_accessors interface.

cd tests
./test-ptrace -v -s /bin/ls /usr

for an example. When you use unw_get_reg, internally it's going
through the accessors and invoking _UPT_access_reg().

 -Arun



reply via email to

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