[WIP/RFC] MIPS registers overhaul

Daniel Jacobowitz drow@mvista.com
Sat May 10 20:40:00 GMT 2003


On Sat, May 10, 2003 at 04:29:37PM -0400, Andrew Cagney wrote:
> >Problem 1 was solved by introducing a union type for floating point
> >registers.  When attempting to display a value using ``print'', you'll
> >see (with my patch) something like this:
> >
> >    (gdb) p $f20
> >    $1 = {i = 4621199872640208077, f = -107374184, d = 8.9000000000000004}
> >
> >(If someone can think of more meaningful, but still terse field names for
> >the above, please let me know.)
> 
> I'd try to be consistent with the other register unions, uint64 for 
> instance.  As for the d/f, I don't know.

How about u64, flt, and dbl?


-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb-patches mailing list