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] |
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. 2006-08-07 Yao Qi <qiyaoltc@cn.ibm.com> * lib/dw/tests/cni/TestLib.cxx (getFuncAddr): Return function address instead of function descriptor on PPC64. * lib/dw/tests/TestDwfl.java: Take powerpc into account, and change the expected line numbers. Rebuild frysk on X86, X86_64, and PPC64, and no FAIL any more in lib.dw.tests.TestDwfl after this patch applied. OK to commit? Thanks! -- Yao Qi
Attachment:
TestDwfl.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |