This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [WIP/RFC] MIPS registers overhaul


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]