From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23877 invoked by alias); 20 Dec 2001 07:04:06 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 23856 invoked from network); 20 Dec 2001 07:04:04 -0000 Received: from unknown (HELO is.elta.co.il) (199.203.121.2) by sources.redhat.com with SMTP; 20 Dec 2001 07:04:04 -0000 Received: from is.elta.co.il (pcn2 [199.203.121.11]) by is.elta.co.il (8.9.3/8.8.8) with ESMTP id JAA16197; Thu, 20 Dec 2001 09:03:29 +0200 (IST) Message-ID: <3C218E4C.C92FF822@is.elta.co.il> Date: Wed, 19 Dec 2001 23:04:00 -0000 From: Eli Zaretskii X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: Jim Blandy CC: gdb-patches@sources.redhat.com Subject: Re: RFA: char is unsigned on some architectures References: <20011219224516.AA8665E9D8@zwingli.cygnus.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2001-12/txt/msg00497.txt.bz2 Jim Blandy wrote: > > ISO C specifies that `char' acts like either `signed char' or > `unsigned char'. At the moment, GDB assumes that `char' is `signed > char'. This patch allows the architecture to specify the correct > answer, and sets the value correctly for the IBM S/390 architecture. > > 2001-12-19 Jim Blandy > > * gdbarch.sh (TARGET_CHAR_SIGNED): New macro. This new macro should be documented in gdbint.texinfo, I think.