Re: Printing decimal128 types out of registers

Thiago Jung Bauermann
2008-01-23T16:56:55Z

On Wed, 2008-01-23 at 10:20 -0500, Daniel Jacobowitz wrote:
> Here's one (of many) possible ways you could do it. Define an
> appropriate property in an XML file for Power6, and add that to the
> list of built-in descriptions just like the existing ones. In
> ppc-linux-nat.c and in gdbserver, check the auxv vector for the
> dfp capability. If it's present, return the Power6 description.
> Other non-Linux targets can handle this in the appropriate way
> for each target.
>
> For the gdbserver part you'd probably want to wait until Ulrich's
> biarch patches go in; that may simplify it.

I'll try this. Thanks for the suggestion.

> If this is too complicated, I wouldn't argue against a patch that just
> added them if the floating point regsiters are present. Seems like it
> won't be useful on a lot of processors though.

Agreed.
--
[]'s
Thiago Jung Bauermann