This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH c++ 3/6] Change type of write_qxfer_response parameter
- From: Pedro Alves <palves at redhat dot com>
- To: Simon Marchi <simon dot marchi at polymtl dot ca>, gdb-patches at sourceware dot org
- Date: Thu, 29 Oct 2015 17:14:53 +0000
- Subject: Re: [PATCH c++ 3/6] Change type of write_qxfer_response parameter
- Authentication-results: sourceware.org; auth=none
- References: <1446123767-25046-1-git-send-email-simon dot marchi at polymtl dot ca> <1446123767-25046-4-git-send-email-simon dot marchi at polymtl dot ca>
On 10/29/2015 01:02 PM, Simon Marchi wrote:
> 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 *.
OK.
Thanks,
Pedro Alves