Re: [PATCH c++ 4/5] mips: fix void*/gdb_byte* compilation errors

Pedro Alves
2015-10-22T10:54:36Z

On 10/11/2015 05:37 AM, Simon Marchi wrote:
> The error in mips64_linux_get_longjmp_target is fixed by changing "buf"
> to be a gdb_byte*, as usual. supply_32bit_reg and mips64_fill_gregset
> do some more complicated things however, so it's safer just to add the
> explicit cast and avoid changing the code too much.
>
> gdb/ChangeLog:
>
> * mips-linux-tdep.c (mips64_linux_get_longjmp_target): Change type of
> buf to gdb_byte*.
> (supply_32bit_reg): Add cast.
> (mips64_fill_gregset): Likewise.

OK.

Thanks,
Pedro Alves