Change type of write_qxfer_response parameter
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 *.
This commit is contained in:
parent
b40699581c
commit
f98cd05907
|
@ -1,3 +1,8 @@
|
|||
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.
|
||||
|
|
|
@ -385,7 +385,7 @@ decode_xfer (char *buf, char **object, char **rw, char **annex, char **offset)
|
|||
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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue