[spu] Fix C++ build problems
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Wed, 4 May 2016 23:42:09 +0000 (19:42 -0400)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Wed, 4 May 2016 23:42:09 +0000 (19:42 -0400)
commitc1aebf87fd3887ae02e5e62fb41889c9fa37a8a9
tree5f5a45a2e9f46cb728cee4902c4893ec83e77417
parentc3fbf828add04de391d40883e4bdaf51500300d1
[spu] Fix C++ build problems

ChangeLog:

* spu-linux-nat.c (spu_bfd_iovec_pread): Add pointer cast for C++.
(spu_bfd_open): Likewise.

gdbserver/ChangeLog:

* spu-low.c (fetch_ppc_register): Cast PowerPC-Linux-specific value
used as first ptrace argument to PTRACE_TYPE_ARG1 for C++.
(fetch_ppc_memory_1, store_ppc_memory_1): Likewise.
gdb/ChangeLog
gdb/gdbserver/ChangeLog
gdb/gdbserver/spu-low.c
gdb/spu-linux-nat.c