This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH c++ 11/12] linux-mips-low.c: Add casts


On 11/03/2015 02:26 PM, Simon Marchi wrote:
> From: Simon Marchi <simon.marchi@polymtl.ca>
> 
> Fixes a bunch of:
> 
> /home/simark/src/binutils-gdb/gdb/gdbserver/linux-mips-low.c: In function âvoid mips_store_fpregset(regcache*, const void*)â:
> /home/simark/src/binutils-gdb/gdb/gdbserver/linux-mips-low.c:809:39: error: invalid conversion from âconst void*â to âconst mips_register*â [-fpermissive]
>    const union mips_register *regset = buf;
>                                        ^
> 
> gdb/gdbserver/ChangeLog:
> 
> 	* linux-mips-low.c (mips_fill_gregset): Add cast.
> 	(mips_store_gregset): Likewise.
> 	(mips_fill_fpregset): Likewise.
> 	(mips_store_fpregset): Likewise.

OK.

Thanks,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]