[PATCH] MIPS: Provide FPU info and decode FCSR in `info float'

Joel Brobecker brobecker@adacore.com
Mon Jun 11 15:41:00 GMT 2012


> command.  So I am asking for feedback, specifically whether it would be 
> preferable for this change to go in as is or whether the simple dump of 
> FPU registers should be retained.

The documentation does not explicitly say that the "info float" command
should dump the floating point registers, but now that it does, I do not
think it would be a good idea to remove them from the dump.  But I do not
feel strongly enough to object.

> 2012-05-24  Nigel Stephens  <nigel@mips.com>
>             Maciej W. Rozycki  <macro@codesourcery.com>
> 
> 	gdb/
> 	* mips-tdep.c (print_fpu_flags): New function.
> 	(mips_print_float_info): Likewise.
> 	(mips_gdbarch_init): Install mips_print_float_info as gdbarch
> 	print_float_info routine.
> 
> 	gdb/testsuite/
> 	* gdb.base/float.exp: Handle the new output from "info float" on
> 	MIPS targets.
-- 
Joel



More information about the Gdb-patches mailing list