This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] MIPS: Factor out FPU type naming in `gdbarch' debug
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Wed, 02 Aug 2017 12:01:43 -0400
- Subject: [binutils-gdb] MIPS: Factor out FPU type naming in `gdbarch' debug
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT a4f320fd1b535bb80dc9a3ba7c50ee0061ec0c6f ***
Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: a4f320fd1b535bb80dc9a3ba7c50ee0061ec0c6f
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.