Fixes:
/home/simark/src/binutils-gdb/gdb/nat/linux-ptrace.c:207:6: error: invalid conversion from ‘void*’ to ‘gdb_byte* {aka unsigned char*}’ [-fpermissive]
pc = (void *) (uintptr_t) l;
^
gdb/ChangeLog:
* nat/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Replace
(void *) cast with (gdb_byte *).
+2015-10-24 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * nat/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Replace
+ (void *) cast with (gdb_byte *).
+
2015-10-24 Simon Marchi <simon.marchi@polymtl.ca>
* proc-service.c (ps_pdread): Add cast.
safe_strerror (errno));
return;
}
- pc = (void *) (uintptr_t) l;
+ pc = (gdb_byte *) (uintptr_t) l;
kill (child, SIGKILL);
ptrace (PTRACE_KILL, child, (PTRACE_TYPE_ARG3) NULL,