Hi Petr,

On Thu, Jun 19, 2014 at 5:15 PM, Petr Machata <[email protected]> wrote:
> - From the updated token, you figure out what the address is where the
>   symbol got resolved ("final address" below), and store it at struct
>   breakpoint.arch.  Then you undo what the dynamic linker did
>   ("unresolve" the token).

Cool. Somehow I haven't thought about such unresolving. Thanks!

[...]

> - Or yet simpler, do the on_return thing from previous paragraph, figure
>   out the final address, and then just relocate the breakpoint there.
>   In addition to the disadvantage above, this one also can't distinguish
>   local calls from PLT ones (except for the first one).  If I recall
>   correctly, this is what the MIPS backend does.

That's what I've implemented for xtensa now, but yes, I'll do the full
thing for v2.

-- 
Thanks.
-- Max

_______________________________________________
Ltrace-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/ltrace-devel

Reply via email to