From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12398 invoked by alias); 25 Mar 2003 16:18:36 -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 12387 invoked from network); 25 Mar 2003 16:18:36 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 25 Mar 2003 16:18:36 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu-dmz.redhat.com [172.16.52.200] (may be forged)) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h2PGIaQ09297 for ; Tue, 25 Mar 2003 11:18:36 -0500 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h2PGIZQ25120 for ; Tue, 25 Mar 2003 11:18:35 -0500 Received: from cygbert.vinschen.de (vpn50-10.rdu.redhat.com [172.16.50.10]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id h2PGIX503144 for ; Tue, 25 Mar 2003 08:18:34 -0800 Received: (from corinna@localhost) by cygbert.vinschen.de (8.11.6/8.9.3/Linux sendmail 8.9.3) id h2PGIV724571 for gdb-patches@sources.redhat.com; Tue, 25 Mar 2003 17:18:31 +0100 Date: Tue, 25 Mar 2003 16:18:00 -0000 From: Corinna Vinschen To: gdb-patches@sources.redhat.com Subject: [PATCH] xstormy16-tdep.c: Set chars to unsigned Message-ID: <20030325161831.GF23762@cygbert.vinschen.de> Reply-To: gdb-patches@sources.redhat.com Mail-Followup-To: gdb-patches@sources.redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-SW-Source: 2003-03/txt/msg00493.txt.bz2 Hi, I've applied the below patch to xstormy16-tdep. It resolves the FAILs in charset.exp due to the different opinion of gdb and the xstormy16 target about sign of characters. Corinna 2003-03-25 Corinna Vinschen * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to set_gdbarch_char_signed. Index: xstormy16-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/xstormy16-tdep.c,v retrieving revision 1.32 diff -u -p -r1.32 xstormy16-tdep.c --- xstormy16-tdep.c 24 Mar 2003 03:54:50 -0000 1.32 +++ xstormy16-tdep.c 25 Mar 2003 16:12:34 -0000 @@ -1106,6 +1106,7 @@ xstormy16_gdbarch_init (struct gdbarch_i set_gdbarch_fix_call_dummy (gdbarch, generic_fix_call_dummy); set_gdbarch_breakpoint_from_pc (gdbarch, xstormy16_breakpoint_from_pc); + set_gdbarch_char_signed (gdbarch, 0); set_gdbarch_int_bit (gdbarch, 2 * TARGET_CHAR_BIT); set_gdbarch_ptr_bit (gdbarch, 2 * TARGET_CHAR_BIT); set_gdbarch_addr_bit (gdbarch, 4 * TARGET_CHAR_BIT); -- Corinna Vinschen Cygwin Developer Red Hat, Inc. mailto:vinschen@redhat.com