MIPS: Factor out FPU type naming in `gdbarch' debug
authorMaciej W. Rozycki <macro@imgtec.com>
Wed, 2 Aug 2017 15:40:16 +0000 (16:40 +0100)
committerMaciej W. Rozycki <macro@imgtec.com>
Wed, 2 Aug 2017 15:40:16 +0000 (16:40 +0100)
commita4f320fd1b535bb80dc9a3ba7c50ee0061ec0c6f
tree9b352ce1e1dcf23c93d23664a844889372c8cf47
parentdb99ecc08f5b66fbe9cb72e90352c7f77ec71a6e
MIPS: Factor out FPU type naming in `gdbarch' debug

Replace chains of conditional expressions used in target-dependent MIPS
`gdbarch' debug output to get a textual name of the FPU type with calls
to a helper decoder function, improving code readability.  No functional
change.

gdb/
* mips-tdep.c (mips_fpu_type_str): New function.
(mips_dump_tdep): Call it.
gdb/ChangeLog
gdb/mips-tdep.c
This page took 0.032718 seconds and 4 git commands to generate.