C++ doesn't do implicit type conversions from "void *", so we have to...
gdb/
* i386-gnu-nat.c (i386_gnu_dr_set_control_one)
(i386_gnu_dr_set_addr_one): Explicitly cast "void *".
+2016-12-08 Thomas Schwinge <thomas@codesourcery.com>
+
+ * i386-gnu-nat.c (i386_gnu_dr_set_control_one)
+ (i386_gnu_dr_set_addr_one): Explicitly cast "void *".
+
2016-12-07 Thomas Schwinge <thomas@codesourcery.com>
* gnu-nat.c (set_sig_thread_cmd): Call global_thread_id_to_ptid
static void
i386_gnu_dr_set_control_one (struct proc *thread, void *arg)
{
- unsigned long *control = arg;
+ unsigned long *control = (unsigned long *) arg;
struct i386_debug_state regs;
i386_gnu_dr_get (®s, thread);
static void
i386_gnu_dr_set_addr_one (struct proc *thread, void *arg)
{
- struct reg_addr *reg_addr = arg;
+ struct reg_addr *reg_addr = (struct reg_addr *) arg;
struct i386_debug_state regs;
i386_gnu_dr_get (®s, thread);