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: [RFC] Changes to signed char and unsigned char handling


> Date: Mon, 3 Sep 2007 13:53:12 -0400
> From: Daniel Jacobowitz <drow@false.org>
> 
> On Fri, Aug 24, 2007 at 09:17:57PM -0400, Daniel Jacobowitz wrote:
> > Here's option 1 instead:
> > 
> > 1.  Make vector types special.  Treat arrays of single byte integers
> > as characters, like before, unless they occur in a vector type.  This
> > is reasonable, but tricky to implement.
> > 
> > It restores the historic behavior for unsigned char and signed char.
> > Only the behavior of vector registers has changed.  You basically
> > never want to print these as strings, but since I had already
> > implemented print/s I kept it.
> 
> Mark, did you want to look at this revised approach?  I think it
> will satisfy everyone; I'd like to include it in 6.7, if so.
> 
>   http://sourceware.org/ml/gdb-patches/2007-08/msg00467.html

Bleah!  It was my intention to test this new diff, and recheck my
sparc machine to see why your first diff caused me so many problems,
but I haven't found the time to do either.

But this diff makes much more sense to me, so feel free to get it in.

Mark


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