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


On Wed, Nov 22, 2006 at 08:55:02PM +0100, Ulrich Weigand wrote:
> The problem occurs if there is a source-level variable of bitfield type
> that currently resides in such a register, and the GDB user attempts to
> assign to that variable.

I'm not sure how you are using "bitfield type" here; could you post an
example?  i.e. do you mean:

   int x:7;

or

   struct { int x:7; int y:25; } z;

I'm wondering if you're describing the latter case, in which case the
problem is that we're calling value_to_register on only part of the
value we want in the register.

-- 
Daniel Jacobowitz
CodeSourcery


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