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, Dec 06, 2006 at 01:21:48PM -0800, Jim Blandy wrote:
> I'm reluctant to get into storing original types and having reference
> counts; it's a lot of complexity in the core code to handle
> architectures that are doing odd things.

What about the fact that Vladimir wanted it for memory bitfields too?
Nothing architecture-specific about that.

> I've got unsubmitted patches for GDB that implement a new kind of
> value, whose contents are read and written via functions provided by
> the user, based on a generic closure pointer.  Future r2v / v2r
> functions could produce values of this sort, instead of using odd
> bitpos values.  So the kludge wouldn't last forever.

Then let's not add the kludge at all.

-- 
Daniel Jacobowitz
CodeSourcery


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