From 54fcddd0ace6123d9dadc3040c39acd1b42ffd09 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Tue, 8 Feb 2011 13:30:10 +0000 Subject: include/ChangeLog: * dwarf2.h (enum dwarf_calling_convention): Add DW_CC_GDB_IBM_OpenCL. gdb/ChangeLog: * dwarf2read.c (read_subroutine_type): Set special calling convention flag for functions compiled by IBM XL C for OpenCL. * ppc-sysv-tdep.c: Include "dwarf2.h" (ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types calling convention. (do_ppc_sysv_return_value): Add FUNC_TYPE argument. Implement IBM OpenCL vector types calling convention. (ppc_sysv_abi_return_value): Pass through FUNC_TYPE. (ppc_sysv_abi_broken_return_value): Likewise. (ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types calling convention. (ppc64_sysv_abi_return_value): Likewise. * spu-tdep.c: Include "dwarf2.h" (spu_return_value): Implement IBM OpenCL vector types calling convention. gdb/testsuite/ChangeLog: * gdb.opencl/callfuncs.cl: New file. * gdb.opencl/callfuncs.exp: New test. * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs. --- gdb/ChangeLog | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'gdb/ChangeLog') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0197e8b..87f31f3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,23 @@ 2011-02-08 Ulrich Weigand + * dwarf2read.c (read_subroutine_type): Set special calling + convention flag for functions compiled by IBM XL C for OpenCL. + * ppc-sysv-tdep.c: Include "dwarf2.h" + (ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types + calling convention. + (do_ppc_sysv_return_value): Add FUNC_TYPE argument. Implement + IBM OpenCL vector types calling convention. + (ppc_sysv_abi_return_value): Pass through FUNC_TYPE. + (ppc_sysv_abi_broken_return_value): Likewise. + (ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector + types calling convention. + (ppc64_sysv_abi_return_value): Likewise. + * spu-tdep.c: Include "dwarf2.h" + (spu_return_value): Implement IBM OpenCL vector types calling + convention. + +2011-02-08 Ulrich Weigand + * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Implement correct ABI for AltiVec vector arguments. -- cgit v1.1