This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Changes to signed char and unsigned char handling
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sourceware dot org
- Date: Mon, 3 Sep 2007 13:53:12 -0400
- Subject: Re: [RFC] Changes to signed char and unsigned char handling
- References: <20070705135402.GA4300@caradoc.them.org> <20070825011757.GA15793@caradoc.them.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
--
Daniel Jacobowitz
CodeSourcery