include/ChangeLog:
authorUlrich Weigand <uweigand@de.ibm.com>
Tue, 8 Feb 2011 13:30:10 +0000 (13:30 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Tue, 8 Feb 2011 13:30:10 +0000 (13:30 +0000)
commit54fcddd0ace6123d9dadc3040c39acd1b42ffd09
tree52b8f2892f032070d495dd00b396659f1a88edb8
parentd6dafb7c8efcd4625de119bffece9907e5b69a8e
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
gdb/dwarf2read.c
gdb/ppc-sysv-tdep.c
gdb/spu-tdep.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.opencl/Makefile.in
gdb/testsuite/gdb.opencl/callfuncs.cl [new file with mode: 0644]
gdb/testsuite/gdb.opencl/callfuncs.exp [new file with mode: 0644]
include/ChangeLog
include/dwarf2.h