Change type of write_qxfer_response parameter
authorSimon Marchi <simon.marchi@polymtl.ca>
Thu, 29 Oct 2015 17:41:13 +0000 (13:41 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Thu, 29 Oct 2015 17:43:01 +0000 (13:43 -0400)
commitf98cd059076c64cdb94b9743c544458b2b91716c
treef8f1e13a880cf4c8fbdb0e666e5c2e4b812a9fc7
parentb40699581c0d390e653f36a5bba99f13cf9763a0
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 *.
gdb/gdbserver/ChangeLog
gdb/gdbserver/server.c