Handle void * conversions in FreeBSD/x86 native code to fix C++ build.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 19 Jan 2016 19:02:09 +0000 (11:02 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 19 Apr 2016 22:42:17 +0000 (15:42 -0700)
commit21002a635bf3da33367592e3a3ab3cce24fe5299
tree18f3d5a85e383eb97734feea41db8b59765712d0
parentf39c07acc8c4039534a9c6f1757de82afe66ecd5
Handle void * conversions in FreeBSD/x86 native code to fix C++ build.

gdb/ChangeLog:

* amd64bsd-nat.c (amd64bsd_fetch_inferior_registers): Change xstateregs
to void *.
(amd64bsd_store_inferior_registers): Likewise.
* fbsd-nat.c (resume_one_thread_cb): Explicitly cast data to ptid_t *.
(resume_all_threads_cb): Likewise.
* i386bsd-nat.c (i386bsd_supply_gregset): Cast gregs to char *.
(i386bsd_collect_gregset): Likewise.
(i386bsd_fetch_inferior_registers): Change xstateregs to void *.
(i386bsd_store_inferior_registers): Likewise.
gdb/ChangeLog
gdb/amd64bsd-nat.c
gdb/fbsd-nat.c
gdb/i386bsd-nat.c