This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Enhanced language support for Modula-2
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Gaius Mulley <gaius at glam dot ac dot uk>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 16 Feb 2006 06:34:34 +0200
- Subject: Re: Enhanced language support for Modula-2
- References: <87vevg9puv.fsf@j228-gm.comp.glam.ac.uk>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Gaius Mulley <gaius@glam.ac.uk>
> 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 <unknown> ");
"SET OF" probably won't be translated, but "<unknown>" should, so this
message should be in _() as well.