Jose,

I checked in a patch to support the tdep_get_func_addr() hook you
need.  I didn't check in the changes to the distance-checking so far.
Something seems fishy there.  In your patch, you check "cur_dist < 0",
but cur_dist is of type "Elf_W(Addr)", which should be an unsigned
type, AFAIK, so the check makes no sense.  Can you elaborate on what's
really going on here?  Is Elf_W(Addr) signed on PPC64 for some reason?
 Or is it a compiler bug or something else?

Thanks,

  --david

On 8/20/07, Jose Flavio Aguilar Paulino <[EMAIL PROTECTED]> wrote:
> Hi people,
>
> This patch adds the function address needed by PowerPC64.
> I tried to make a generic implementation in src/mi/get_func_addr.c
> I hope that David can have an ideia of its implementation.
>
> regards,
> --
> Jose Flavio Aguilar Paulino
> ([EMAIL PROTECTED])
> System / Software Engineer
>
> Toolchain Team
> LTC, Linux Technology Center
> IBM Brazil
>
> _______________________________________________
> Libunwind-devel mailing list
> [email protected]
> http://lists.nongnu.org/mailman/listinfo/libunwind-devel
>
>
>


-- 
Mosberger Consulting LLC, http://www.mosberger-consulting.com/


_______________________________________________
Libunwind-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/libunwind-devel

Reply via email to