This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA][2/5] New port: Cell BE SPU (valops.c fix)
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