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: Eli Zaretskii <eliz at gnu dot org>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Sat, 25 Aug 2007 13:19:22 +0300
- Subject: Re: [RFC] Changes to signed char and unsigned char handling
- References: <20070705135402.GA4300@caradoc.them.org> <20070825011757.GA15793@caradoc.them.org>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Fri, 24 Aug 2007 21:17:57 -0400
> From: Daniel Jacobowitz <drow@false.org>
>
> 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.
>
> Comments? Mark, is this better?
The patches for documentation are okay with me.
Thanks.