Re: [RFA][2/5] New port: Cell BE SPU (valops.c fix)

Daniel Jacobowitz
2006-11-23T16:16:53Z

On Thu, Nov 23, 2006 at 02:57:19PM +0100, Ulrich Weigand wrote:
> However, we don't have the enclosing type in the data structure
> at all, which makes it difficult. I'm wondering whether we can
> employ the value_enclosing_type (and related) fields for this
> purpose, but I'm not completely sure how that would interact
> with the C++ use of those.

Very badly, I suspect: parts of GDB would probably start assuming that
"int" was a base class of "array of four ints", which isn't quite
right.

I suppose there's times we want to destroy the rest of the register,
so knowing where it is in the register isn't enough?

--
Daniel Jacobowitz
CodeSourcery