[PATCH] Print vector registers in natural format, not hex

Eli Zaretskii eliz@is.elta.co.il
Sat Oct 12 02:01:00 GMT 2002


> Date: Fri, 11 Oct 2002 12:26:02 -0400
> From: Klee Dienes <klee@apple.com>
> 
> Maybe something along the lines of:
> 
> @value{GDBN} always considers the contents of an ordinary register as an
> integer when the register is examined in this way.  Some machines have
> special registers that are predefined to have specific types (typically 
> floating
> point or vector registers); these registers are printed according to 
> their
> system-defined type.  There is no way to refer to the contents of an 
> ordinary
> register as a floating point value or vector type (although you can 
> @emph{print}
> it as a floating point value with @samp{print/f $@var{regname}}).

That's good, but perhaps an explicit reference to "info vector" and
"info float" would be useful.



More information about the Gdb-patches mailing list