MIPS: Consistently use MIPS_FPU_TYPE for `gdbarch' member
authorMaciej W. Rozycki <macro@imgtec.com>
Tue, 1 Aug 2017 18:32:25 +0000 (19:32 +0100)
committerMaciej W. Rozycki <macro@imgtec.com>
Tue, 1 Aug 2017 18:32:25 +0000 (19:32 +0100)
commita2f1f308535745e1e8b1896945cfe4ce0aae59e7
tree5b8d00e7f7b83a2649ae37e70a58b4949da45ffc
parent1ef692ea23714876cc30b1a3ab3ef33a1369f17a
MIPS: Consistently use MIPS_FPU_TYPE for `gdbarch' member

Complement commit 74ed0bb4148e ("Replace current_gdbarch in *mips*"),
<https://sourceware.org/ml/gdb-patches/2008-06/msg00490.html>, and
consistently use the MIPS_FPU_TYPE macro to access the `->mips_fpu_type'
target-dependent `gdbarch' member.  No functional change.

gdb/
* mips-tdep.c (mips_gdbarch_init): Use MIPS_FPU_TYPE to access
`->mips_fpu_type'.
gdb/ChangeLog
gdb/mips-tdep.c