Fixes:
/home/simark/src/binutils-gdb/gdb/gdbserver/server.c: In function ‘int write_qxfer_response(char*, const void*, int, int)’:
/home/simark/src/binutils-gdb/gdb/gdbserver/server.c:398:32: error: invalid conversion from ‘const void*’ to ‘const gdb_byte* {aka const unsigned char*}’ [-fpermissive]
&out_len, PBUFSIZ - 2) + 1;
^
gdb/gdbserver/ChangeLog:
* server.c (write_qxfer_response): Change type of data to
gdb_byte *.
+2015-10-29 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * server.c (write_qxfer_response): Change type of data to
+ gdb_byte *.
+
2015-10-29 Pedro Alves <palves@redhat.com>
* mem-break.c (Z_packet_to_bkpt_type): Add cast.
to as much of DATA/LEN as we could fit. IS_MORE controls
the first character of the response. */
static int
-write_qxfer_response (char *buf, const void *data, int len, int is_more)
+write_qxfer_response (char *buf, const gdb_byte *data, int len, int is_more)
{
int out_len;