This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC 3/3] GDB/MI: Add new "--language LANG" command option.
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 11 Nov 2013 18:27:17 +0200
- Subject: Re: [RFC 3/3] GDB/MI: Add new "--language LANG" command option.
- Authentication-results: sourceware.org; auth=none
- References: <1384151855-12926-1-git-send-email-brobecker at adacore dot com> <1384151855-12926-3-git-send-email-brobecker at adacore dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Joel Brobecker <brobecker@adacore.com>
> Date: Mon, 11 Nov 2013 10:37:35 +0400
>
> gdb/ChangeLog:
>
> * mi/mi-parse.h (struct mi_parse) [language]: New field.
> * mi/mi-main.c (mi_cmd_execute): Temporarily set language to
> PARSE->LANGUAGE during command execution, if set.
> * mi/mi-parse.c: Add "language.h" #include.
> (mi_parse): Add parsing of "--language" command option.
>
> gdb/testsuite/ChangeLog:
>
> * gdb.mi/mi-language.exp: New file.
>
> gdb/doc/ChangeLog:
>
> * gdb.texinfo (Show): Add xref anchor for "show language" command.
> (Context management): Place current subsection text into its own
> subsubsection. Add new subsubsection describing the "--language"
> command option.
>
> Tested on x86_64-linux. Thoughts?
The documentation part is OK.
(Does this need a NEWS entry?)
Thanks.