From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2038 invoked by alias); 2 May 2002 11:26:01 -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 2023 invoked from network); 2 May 2002 11:25:58 -0000 Received: from unknown (HELO cerbere.u-strasbg.fr) (130.79.112.7) by sources.redhat.com with SMTP; 2 May 2002 11:25:58 -0000 Received: from laocoon (laocoon.u-strasbg.fr [130.79.112.72]) by cerbere.u-strasbg.fr (8.9.3/8.8.7) with ESMTP id NAA23310 for ; Thu, 2 May 2002 13:25:53 +0200 Message-Id: <4.2.0.58.20020502131908.01c96f88@ics.u-strasbg.fr> X-Sender: muller@ics.u-strasbg.fr Date: Thu, 02 May 2002 04:26:00 -0000 To: gdb-patches@sources.redhat.com From: Pierre Muller Subject: [PATCH] Use TYPE_CODE_CHAR for pascal char type Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-SW-Source: 2002-05/txt/msg00030.txt.bz2 The patch below is necessary, because due to some recent GDB change, pascal chars where not displayed as characters anymore. 2002-05-02 Pierre Muller * p-lang.c (pascal_create_fundamental_type): Use TYPE_CODE_CHAR for fondamental pascal 'char' type. Index: p-lang.c =================================================================== RCS file: /cvs/src/src/gdb/p-lang.c,v retrieving revision 1.6 diff -u -p -r1.6 p-lang.c --- p-lang.c 2 May 2002 11:18:07 -0000 1.6 +++ p-lang.c 2 May 2002 11:21:12 -0000 @@ -293,7 +293,7 @@ pascal_create_fundamental_type (struct o 0, "void", objfile); break; case FT_CHAR: - type = init_type (TYPE_CODE_INT, + type = init_type (TYPE_CODE_CHAR, TARGET_CHAR_BIT / TARGET_CHAR_BIT, 0, "char", objfile); break; Pierre Muller Institut Charles Sadron 6,rue Boussingault F 67083 STRASBOURG CEDEX (France) mailto:muller@ics.u-strasbg.fr Phone : (33)-3-88-41-40-07 Fax : (33)-3-88-41-40-99