This is the mail archive of the frysk@sources.redhat.com mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix for bug#2999


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]