This is the mail archive of the
frysk@sources.redhat.com
mailing list for the frysk project.
Re: Fix for bug#2999
- From: Mark Wielaard <mark at klomp dot org>
- To: Yao Qi <qiyaoltc at cn dot ibm dot com>
- Cc: frysk <frysk at sourceware dot org>
- Date: Mon, 07 Aug 2006 16:37:00 +0200
- Subject: Re: Fix for bug#2999
- References: <20060807065508.GC2347@GreenHouse.cn.ibm.com>
Hi,
On Mon, 2006-08-07 at 14:55 +0800, Yao Qi wrote:
> In frysk-import/lib/dw/tests/cni/TestLib.cxx, getFuncAddr() wants
> to get the function address via its function name in source code,
> but it is not true on PPC64. According to PowerPC 64-bit ABI,
> function name is only a function descriptor, not entry address,
> and the first doubleword of function descriptor contains the
> address of the entry point of the function.
Thanks. I have used the same thing in TestPtraceByteBuffer and for my
new breakpoint tests. I made a note to add a ppc check there, but if you
happen to test and fix it before I do, I won't complain :)
Cheers,
Mark