From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30931 invoked by alias); 3 Sep 2007 17:53:21 -0000 Received: (qmail 30923 invoked by uid 22791); 3 Sep 2007 17:53:21 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 03 Sep 2007 17:53:15 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 306AF982A4 for ; Mon, 3 Sep 2007 17:53:16 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 0A99F98109 for ; Mon, 3 Sep 2007 17:53:15 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1ISG6q-0005Ng-Lz for gdb-patches@sourceware.org; Mon, 03 Sep 2007 13:53:12 -0400 Date: Mon, 03 Sep 2007 17:53:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sourceware.org Subject: Re: [RFC] Changes to signed char and unsigned char handling Message-ID: <20070903175312.GM12440@caradoc.them.org> Mail-Followup-To: gdb-patches@sourceware.org References: <20070705135402.GA4300@caradoc.them.org> <20070825011757.GA15793@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070825011757.GA15793@caradoc.them.org> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-09/txt/msg00035.txt.bz2 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