mips: fix void*/gdb_byte* compilation errors
authorSimon Marchi <simon.marchi@polymtl.ca>
Thu, 22 Oct 2015 13:46:28 +0000 (09:46 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Thu, 22 Oct 2015 13:47:41 +0000 (09:47 -0400)
commit709476c3c595fb61f155ba453733809d3e76ed51
tree416c6aaa6cb859efa640640b68fe1506084af5f2
parent4894d80b508ad2626eb2cfd23cfcb5635cdf7442
mips: fix void*/gdb_byte* compilation errors

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.
gdb/ChangeLog
gdb/mips-linux-tdep.c