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: [PATCH] Print vector registers in natural format, not hex


> 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.


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