This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] Print vector registers in natural format, not hex
- From: "Eli Zaretskii" <eliz at is dot elta dot co dot il>
- To: klee at apple dot com
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sat, 12 Oct 2002 10:56:51 +0300
- Subject: Re: [PATCH] Print vector registers in natural format, not hex
- References: <22199F8A-DD36-11D6-B6D6-00039396EEB8@apple.com>
- Reply-to: Eli Zaretskii <eliz at is dot elta dot co dot il>
> 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.