libunwind-devel
[Top][All Lists]
Advanced

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

Re: [Libunwind-devel] Get Function Address Patch


From: David Mosberger-Tang
Subject: Re: [Libunwind-devel] Get Function Address Patch
Date: Wed, 22 Aug 2007 13:07:47 -0600

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 <address@hidden> 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
> (address@hidden)
> System / Software Engineer
>
> Toolchain Team
> LTC, Linux Technology Center
> IBM Brazil
>
> _______________________________________________
> Libunwind-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/libunwind-devel
>
>
>


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




reply via email to

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