From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 327 invoked by alias); 16 Feb 2006 04:34:43 -0000 Received: (qmail 318 invoked by uid 22791); 16 Feb 2006 04:34:43 -0000 X-Spam-Check-By: sourceware.org Received: from gandalf.inter.net.il (HELO gandalf.inter.net.il) (192.114.186.17) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 16 Feb 2006 04:34:41 +0000 Received: from nitzan.inter.net.il (nitzan.inter.net.il [192.114.186.20]) by gandalf.inter.net.il (MOS 3.7.1-GA) with ESMTP id HWS26894; Thu, 16 Feb 2006 06:34:30 +0200 (IST) Received: from HOME-C4E4A596F7 (IGLD-80-230-65-232.inter.net.il [80.230.65.232]) by nitzan.inter.net.il (MOS 3.7.3-GA) with ESMTP id CSH64041 (AUTH halo1); Thu, 16 Feb 2006 06:34:28 +0200 (IST) Date: Thu, 16 Feb 2006 04:34:00 -0000 Message-Id: From: Eli Zaretskii To: Gaius Mulley CC: gdb-patches@sources.redhat.com In-reply-to: <87vevg9puv.fsf@j228-gm.comp.glam.ac.uk> (message from Gaius Mulley on 15 Feb 2006 23:14:32 +0000) Subject: Re: Enhanced language support for Modula-2 Reply-to: Eli Zaretskii References: <87vevg9puv.fsf@j228-gm.comp.glam.ac.uk> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-02/txt/msg00323.txt.bz2 > From: Gaius Mulley > Date: 15 Feb 2006 23:14:32 +0000 > > Anyhow this patch provides better support for Modula-2 in the > following areas: > > * basic types are printed correctly when -gdwarf-2 is specified > on the gm2 command line. > * set types are supported (type printing and value printing). > The patch correctly identifies: SET OF CHAR, SET OF ['a'..'z'] > etc. > * long and short (word length) sets are supported. > * range types are also identified and `ptype' prints them correctly. > * automatic detection of Modula-2 generated executable is enabled. > * VAR parameters are printed correctly > * hexadecimal addresses are written using the Modula-2 syntax. > * character constants are written using the octal syntax > (in the same way as PIM-[234].) Thanks. I think some of these changes might need updates in the user's manual. Could you please look at the "Modula-2" section and its subsections, and see if anything there should be added/removed/modified? > + error ("type not handled in m2_type_print_varspec_prefix()"); User messages should be in _(), to allow for translations into other languages. > + fprintf_filtered(stream, "SET OF "); "SET OF" probably won't be translated, but "" should, so this message should be in _() as well.